diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2019-03-26 11:35:29 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-26 11:35:29 +0000 |
commit | 4a125be13815548762f0d4cf63e7913a09314197 (patch) | |
tree | e6cdbecdf8cd54be9836a7ad453a503032584ebd /synapse/federation/transport/client.py | |
parent | Fix ClientReplicationStreamProtocol.__str__ (#4929) (diff) | |
download | synapse-4a125be13815548762f0d4cf63e7913a09314197.tar.xz |
Make federation endpoints more tolerant of trailing slashes v2 (#4935)
Redo of https://github.com/matrix-org/synapse/pull/4840
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r-- | synapse/federation/transport/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py index 0cdb31178f..e424c40fdf 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -173,7 +173,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, |