[Libreoffice-commits] online.git: loolwsd/LOOLWSD.cpp
Pranav Kant
pranavk at collabora.com
Fri Mar 25 10:26:30 UTC 2016
loolwsd/LOOLWSD.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit e7ff2399e163eea9dbd921b19d206e2f764ec4f0
Author: Pranav Kant <pranavk at collabora.com>
Date: Fri Mar 25 15:55:36 2016 +0530
loolwsd: Fix WOPI urlsrc
Since we are serving loleaflet from loolwsd now
Change-Id: Ie9b1150f59fcbfef8e22fcf94fa1fbdbfd1ab9cc
diff --git a/loolwsd/LOOLWSD.cpp b/loolwsd/LOOLWSD.cpp
index caeb378..ea745ca 100644
--- a/loolwsd/LOOLWSD.cpp
+++ b/loolwsd/LOOLWSD.cpp
@@ -672,7 +672,7 @@ private:
const std::string mediaType = "text/xml";
const std::string action = "action";
const std::string urlsrc = "urlsrc";
- const std::string uriValue = "http://" + uri.getHost() + LOLEAFLET_PATH;
+ const std::string uriValue = "https://" + uri.getHost() + ":" + std::to_string(uri.getPort()) + LOLEAFLET_PATH;
InputSource inputSrc(discoveryPath);
AutoPtr<Poco::XML::Document> docXML = parser.parse(&inputSrc);
More information about the Libreoffice-commits
mailing list