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
This commit is contained in:
parent
7615a8ced1
commit
a4f52a33fe
|
@ -0,0 +1 @@
|
|||
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)
|
||||
|
|
Loading…
Reference in New Issue