mirror of
https://github.com/element-hq/synapse
synced 2024-08-19 08:00:53 +00:00
Ensure slashes are escaped
This commit is contained in:
parent
dab87b84a3
commit
11d2609da7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue