summary refs log tree commit diff
path: root/synapse/federation/transport/client.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-04-10 11:24:40 +0100
committerErik Johnston <erik@matrix.org>2018-04-10 11:24:40 +0100
commit11d2609da70af797405241cdf7d9df19db5628f2 (patch)
treeb2db7fa403e2fe9815902c97575b27ad024323ea /synapse/federation/transport/client.py
parentURL quote path segments over federation (diff)
downloadsynapse-11d2609da70af797405241cdf7d9df19db5628f2.tar.xz
Ensure slashes are escaped
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 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)