Revert "Make federation endpoints more tolerant of trailing slashes for some endpoints (#4793)"

This reverts commit 290552fd83.
This commit is contained in:
Erik Johnston 2019-03-14 14:30:54 +00:00 committed by GitHub
parent 9073cfc8bd
commit 271cb1998b
4 changed files with 11 additions and 12 deletions

View file

@ -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,