[Libreoffice-commits] online.git: loolwsd/loolwsd.xml.in

Andras Timar andras.timar at collabora.com
Wed Apr 27 20:25:38 UTC 2016


 loolwsd/loolwsd.xml.in |    4 ++++
 1 file changed, 4 insertions(+)

New commits:
commit 2993db466c30f4a0532fcc25e4a089a182b14aeb
Author: Andras Timar <andras.timar at collabora.com>
Date:   Wed Apr 27 14:59:23 2016 +0200

    add all private IPv4 address ranges as allowed (for docker, for example)

diff --git a/loolwsd/loolwsd.xml.in b/loolwsd/loolwsd.xml.in
index 0916f01..d462fb7 100644
--- a/loolwsd/loolwsd.xml.in
+++ b/loolwsd/loolwsd.xml.in
@@ -26,6 +26,10 @@
         <filesystem allow="false" />
         <wopi desc="Allow/deny wopi storage. Mutually exclusive with webdav." allow="true">
             <host desc="Regex pattern of hostname to allow or deny." allow="true">localhost</host>
+            <host desc="Regex pattern of hostname to allow or deny." allow="true">10\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}</host>
+            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.1[6789]\.[0-9]{1,3}\.[0-9]{1,3}</host>
+            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.2[0-9]\.[0-9]{1,3}\.[0-9]{1,3}</host>
+            <host desc="Regex pattern of hostname to allow or deny." allow="true">172\.3[01]\.[0-9]{1,3}\.[0-9]{1,3}</host>
             <host desc="Regex pattern of hostname to allow or deny." allow="true">192\.168\.[0-9]{1,3}\.[0-9]{1,3}</host>
             <host desc="Regex pattern of hostname to allow or deny." allow="false">192\.168\.1\.1</host>
             <max_file_size desc="Maximum document size in bytes to load. 0 for unlimited." type="uint">0</max_file_size>


More information about the Libreoffice-commits mailing list