Make sure to serialize numbers in url properly
This commit is contained in:
@@ -16,8 +16,10 @@ def _escape(part):
|
|||||||
"""
|
"""
|
||||||
if isinstance(part, (list, tuple)):
|
if isinstance(part, (list, tuple)):
|
||||||
part = ','.join(part)
|
part = ','.join(part)
|
||||||
# mark ',' as safe for nicer url in logs
|
if isinstance(part, (type(''), type(u''))):
|
||||||
return quote_plus(part, ',')
|
# mark ',' as safe for nicer url in logs
|
||||||
|
return quote_plus(part, ',')
|
||||||
|
return str(part)
|
||||||
|
|
||||||
def _make_path(*parts):
|
def _make_path(*parts):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user