summary refs log tree commit diff
path: root/synapse/federation/transport/client.py
diff options
context:
space:
mode:
authorErik Johnston <erikj@jki.re>2019-03-14 14:30:54 +0000
committerGitHub <noreply@github.com>2019-03-14 14:30:54 +0000
commit271cb1998bab21a3c2a62f72d3179c6af835ad70 (patch)
tree212b5ad6f9359bcc3592a21c59c63d68399db64c /synapse/federation/transport/client.py
parentMerge pull request #4846 from matrix-org/hawkowl/userdir-search (diff)
downloadsynapse-271cb1998bab21a3c2a62f72d3179c6af835ad70.tar.xz
Revert "Make federation endpoints more tolerant of trailing slashes for some endpoints (#4793)"
This reverts commit 290552fd836f4ae2dc1d893a7f72f7fff85365d3.
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r--synapse/federation/transport/client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py
index 4e8919d657..8e2be218e2 100644
--- a/synapse/federation/transport/client.py
+++ b/synapse/federation/transport/client.py
@@ -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,