Skip to content
Snippets Groups Projects
Commit a4f52a33 authored by Erik Johnston's avatar Erik Johnston Committed by Amber Brown
Browse files

Fix replication for room v3 (#4523)

* Fix replication for room v3

We were not correctly quoting the path fragments over http replication,
which meant that it exploded when the event IDs had a slash in them

* Newsfile
parent 7615a8ce
No related branches found
No related tags found
No related merge requests found
Add support for room version 3
......@@ -127,7 +127,10 @@ class ReplicationEndpoint(object):
def send_request(**kwargs):
data = yield cls._serialize_payload(**kwargs)
url_args = [urllib.parse.quote(kwargs[name]) for name in cls.PATH_ARGS]
url_args = [
urllib.parse.quote(kwargs[name], safe='')
for name in cls.PATH_ARGS
]
if cls.CACHE:
txn_id = random_string(10)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment