mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-12-29 15:06:12 -05: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