loolwsd.xml.in |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit 63a24e0082b595d023e606992fd3ae4df7f3102f
Author: Tor Lillqvist <t...@collabora.com>
Date:   Thu Jul 12 18:31:36 2018 +0300

    Accept also localhost and IPv4-mapped IPv6 addresses
    
    Change-Id: Ifc295d164276c0dd17592ff27066a522482fe04a
    Reviewed-on: https://gerrit.libreoffice.org/57351
    Reviewed-by: Tor Lillqvist <t...@collabora.com>
    Tested-by: Tor Lillqvist <t...@collabora.com>

diff --git a/loolwsd.xml.in b/loolwsd.xml.in
index d4ca9b3ea..b2e9a4518 100644
--- a/loolwsd.xml.in
+++ b/loolwsd.xml.in
@@ -65,7 +65,10 @@
     <net desc="Network settings">
       <proto type="string" default="all" desc="Protocol to use IPv4, IPv6 or 
all for both">all</proto>
       <post_allow desc="Allow/deny client IP address for POST(REST)." 
allow="true">
-        <host desc="Regex pattern of ip address to 
allow.">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
+        <host desc="The IPv4 private 192.168 block as plain IPv4 dotted 
decimal addresses.">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
+        <host desc="Ditto, but as IPv4-mapped IPv6 
addresses">::ffff:192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
+        <host desc="The IPv4 loopback (localhost) address.">127\.0\.0\.1</host>
+        <host desc="Ditto, but as IPv4-mapped IPv6 
address">::ffff:127\.0\.0\.1</host>
       </post_allow>
     </net>
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to