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:45:04 +0900
commitd6cddf3e016a4fe3e906e2ab815a1e8b775c284c (patch)
tree5536ada551effdd6e3c67e626f141a20ce078ca7 /lib/jobs/basejob.cpp
parentd9452a731a1983d9b5d3f8cd419b09299c30996e (diff)
downloadlibquotient-d6cddf3e016a4fe3e906e2ab815a1e8b775c284c.tar.gz
libquotient-d6cddf3e016a4fe3e906e2ab815a1e8b775c284c.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;
}