summary refs log tree commit diff
path: root/synapse
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
parentURL quote path segments over federation (diff)
downloadsynapse-11d2609da70af797405241cdf7d9df19db5628f2.tar.xz
Ensure slashes are escaped
Diffstat (limited to 'synapse')
-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)