[Libreoffice-commits] online.git: wsd/LOOLWSD.cpp

Safir Depo selimzcn at gmail.com
Fri May 18 11:01:21 UTC 2018


 wsd/LOOLWSD.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit f6c7df1d0da2915f1faabd4959f92d496ec352e4
Author: Safir Depo <selimzcn at gmail.com>
Date:   Mon May 14 16:36:03 2018 +0300

    bugfix for commit:910ae80-'wsd: to filter clientAddress before POST action.'
    
    Change-Id: I48e6d89fc62c6a656d9e8a74f9f5f8be1d687940
    Reviewed-on: https://gerrit.libreoffice.org/54325
    Reviewed-by: Michael Meeks <michael.meeks at collabora.com>
    Tested-by: Michael Meeks <michael.meeks at collabora.com>

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 7004cf795..4ffd8c9df 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -1739,7 +1739,7 @@ public:
             // Parse the host allow settings.
             for (size_t i = 0; ; ++i)
             {
-                const std::string path = "post_allow.host[" + std::to_string(i) + "]";
+                const std::string path = "net.post_allow.host[" + std::to_string(i) + "]";
                 const auto host = app.config().getString(path, "");
                 if (!host.empty())
                 {


More information about the Libreoffice-commits mailing list