[Libreoffice-commits] online.git: wsd/RequestDetails.cpp
Tor Lillqvist (via logerrit)
logerrit at kemper.freedesktop.org
Fri Jun 5 11:39:49 UTC 2020
wsd/RequestDetails.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
New commits:
commit 441b204d26920bc79d423fdaf5b5bde5d4bf7d5d
Author: Tor Lillqvist <tml at collabora.com>
AuthorDate: Fri Jun 5 14:20:47 2020 +0300
Commit: Tor Lillqvist <tml at collabora.com>
CommitDate: Fri Jun 5 13:39:30 2020 +0200
Avoid assertion failure in the iOS app
Change-Id: I5e0733579db01616f8c6e7743bb01a9a2feca8aa
Reviewed-on: https://gerrit.libreoffice.org/c/online/+/95591
Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice at gmail.com>
Reviewed-by: Tor Lillqvist <tml at collabora.com>
diff --git a/wsd/RequestDetails.cpp b/wsd/RequestDetails.cpp
index 7118a170d..f89745abb 100644
--- a/wsd/RequestDetails.cpp
+++ b/wsd/RequestDetails.cpp
@@ -180,13 +180,16 @@ RequestDetails::RequestDetails(Poco::Net::HTTPRequest &request, const std::strin
}
RequestDetails::RequestDetails(const std::string &mobileURI)
- : _isGet(false)
+ : _isGet(true)
, _isHead(false)
, _isProxy(false)
, _isWebSocket(false)
{
_isMobile = true;
_uriString = mobileURI;
+ // Not sure if these are correct in the case of file names that need URI-encoding.
+ _fields[Field::LegacyDocumentURI] = _uriString;
+ _fields[Field::DocumentURI] = _uriString;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
More information about the Libreoffice-commits
mailing list