aboutsummaryrefslogtreecommitdiff
path: root/lib/jobs/basejob.cpp
diff options
context:
space:
mode:
authorKitsune Ral <Kitsune-Ral@users.sf.net>2019-03-14 07:42:24 +0900
committerKitsune Ral <Kitsune-Ral@users.sf.net>2019-03-14 07:42:24 +0900
commitf13d54bd9931a340af862cc0a03af2ac68fe5e06 (patch)
tree282e66195248741d315b7158fdea6b7416fc219f /lib/jobs/basejob.cpp
parent8c685b4ae5b47e55a55f23e16ccbda0132cb60c5 (diff)
downloadlibquotient-f13d54bd9931a340af862cc0a03af2ac68fe5e06.tar.gz
libquotient-f13d54bd9931a340af862cc0a03af2ac68fe5e06.zip
Fix read receipts and redactions on v3 rooms
Previously slashes in eventIds (that come plenty in v3 due to base64 encoding) were not properly encoded - they are now.
Diffstat (limited to 'lib/jobs/basejob.cpp')
-rw-r--r--lib/jobs/basejob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/jobs/basejob.cpp b/lib/jobs/basejob.cpp
index 8c3381ae..f738ce7a 100644
--- a/lib/jobs/basejob.cpp
+++ b/lib/jobs/basejob.cpp
@@ -186,7 +186,7 @@ QUrl BaseJob::makeRequestUrl(QUrl baseUrl,
if (!pathBase.endsWith('/') && !path.startsWith('/'))
pathBase.push_back('/');
- baseUrl.setPath( pathBase + path );
+ baseUrl.setPath(pathBase + path, QUrl::TolerantMode);
baseUrl.setQuery(query);
return baseUrl;
}