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

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Oct 24 11:09:34 UTC 2018


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

New commits:
commit 18eb13438487290a7d4928381d6ed073134d0ea8
Author:     Tamás Zolnai <tamas.zolnai at collabora.com>
AuthorDate: Wed Oct 24 13:09:11 2018 +0200
Commit:     Tamás Zolnai <tamas.zolnai at 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:


More information about the Libreoffice-commits mailing list