https://bugs.documentfoundation.org/show_bug.cgi?id=117607

--- Comment #1 from [email protected] ---
Comment on attachment 142089
  --> https://bugs.documentfoundation.org/attachment.cgi?id=142089
Suggested Bugfix Patch

commit 9e7c555f5cbdd019b76850404b82d654a84add0f
Author: Safir Depo <[email protected]>
Date:   Mon May 14 15:26:38 2018 +0300

    bugfix for commit:910ae80-'wsd: to filter clientAddress before POST
action.'

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 7004cf7..4ffd8c9 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())
                 {

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to