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)