mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-11-16 04:29:06 -05:00
Make federation endpoints more tolerant of trailing slashes for some endpoints (#4793)
Server side of a solution towards #3622.
This commit is contained in:
parent
9c0e6e8e7c
commit
290552fd83
4 changed files with 12 additions and 11 deletions
|
|
@ -167,7 +167,7 @@ class TransportLayerClient(object):
|
|||
# generated by the json_data_callback.
|
||||
json_data = transaction.get_dict()
|
||||
|
||||
path = _create_v1_path("/send/%s/", transaction.transaction_id)
|
||||
path = _create_v1_path("/send/%s", transaction.transaction_id)
|
||||
|
||||
response = yield self.client.put_json(
|
||||
transaction.destination,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue