mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-24 08:34:12 +00:00
Ensure slashes are escaped
This commit is contained in:
1 parent
dab87b84a3
commit
11d2609da7
1 file changed
+1
-1
@@ -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)
|
||||
Reference in new issue
Block a user