[Libreoffice-commits] online.git: wsd/ClientSession.cpp
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Mar 20 07:51:25 UTC 2019
wsd/ClientSession.cpp | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit c8285addec2c1a60a5e68105ab1fa37fde2d04df
Author: Jan Holesovsky <kendy at collabora.com>
AuthorDate: Wed Mar 20 08:50:14 2019 +0100
Commit: Jan Holesovsky <kendy at collabora.com>
CommitDate: Wed Mar 20 08:50:14 2019 +0100
Kill some extra whitespace.
Change-Id: If0899266ab0ca0d3717fce6eff3a8fca0b4f90ea
diff --git a/wsd/ClientSession.cpp b/wsd/ClientSession.cpp
index 9eb5cef36..f2b602955 100644
--- a/wsd/ClientSession.cpp
+++ b/wsd/ClientSession.cpp
@@ -801,11 +801,11 @@ bool ClientSession::handleKitToClientMessage(const char* buffer, const int lengt
// Rewrite file:// URLs, as they are visible to the outside world.
const Path path(docBroker->getJailRoot(), relative);
if (Poco::File(path).exists())
- {
- // Encode path for special characters (i.e '%') since Poco::URI::setPath implicitly decodes the input param
+ {
+ // Encode path for special characters (i.e '%') since Poco::URI::setPath implicitly decodes the input param
std::string encodedPath;
Poco::URI::encode(path.toString(), "", encodedPath);
-
+
resultURL.setPath(encodedPath);
}
else
More information about the Libreoffice-commits
mailing list