mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
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
1
changelog.d/4523.feature
Normal file
1
changelog.d/4523.feature
Normal file
@ -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
Block a user