mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Ensure slashes are escaped
This commit is contained in:
parent
dab87b84a3
commit
11d2609da7
@ -949,4 +949,4 @@ def _create_path(prefix, path, *args):
|
|||||||
Returns:
|
Returns:
|
||||||
str
|
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 New Issue
Block a user