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

New commits:
commit 18eb13438487290a7d4928381d6ed073134d0ea8
Author:     Tamás Zolnai <tamas.zol...@collabora.com>
AuthorDate: Wed Oct 24 13:09:11 2018 +0200
Commit:     Tamás Zolnai <tamas.zol...@collabora.com>
CommitDate: Wed Oct 24 13:09:11 2018 +0200

    Need to use clientHost here
    
    Change-Id: I170e1d24e1a71749c3262c01a83251c6c157f6eb

diff --git a/wsd/LOOLWSD.cpp b/wsd/LOOLWSD.cpp
index 0b6ee1a61..d3495e5f3 100644
--- a/wsd/LOOLWSD.cpp
+++ b/wsd/LOOLWSD.cpp
@@ -1961,7 +1961,7 @@ public:
                 }
             }
         }
-        return allowPostFrom(clientAddress) || 
StorageBase::allowedWopiHost(request.getHost());
+        return allowPostFrom(clientAddress) || 
StorageBase::allowedWopiHost(clientHost);
     }
 
 private:
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to