diff options
author | Erik Johnston <erik@matrix.org> | 2018-04-10 11:24:40 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-04-10 11:24:40 +0100 |
commit | 11d2609da70af797405241cdf7d9df19db5628f2 (patch) | |
tree | b2db7fa403e2fe9815902c97575b27ad024323ea | |
parent | URL quote path segments over federation (diff) | |
download | synapse-11d2609da70af797405241cdf7d9df19db5628f2.tar.xz |
Ensure slashes are escaped
-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 1976e5d2fb..6db8efa6dd 100644 --- a/synapse/federation/transport/client.py +++ b/synapse/federation/transport/client.py @@ -949,4 +949,4 @@ def _create_path(prefix, path, *args): Returns: str """ - return prefix + path % tuple(urllib.quote(arg) for arg in args) + return prefix + path % tuple(urllib.quote(arg, "") for arg in args) |