0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-10-02 14:38:56 +02:00

Ensure slashes are escaped

This commit is contained in:
Erik Johnston 2018-04-10 11:24:40 +01:00
parent dab87b84a3
commit 11d2609da7

View file

@ -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)