preserve ',' and '*' in url for nicer URLs in logs
This commit is contained in:
@@ -45,7 +45,8 @@ def _make_path(*parts):
|
|||||||
"""
|
"""
|
||||||
#TODO: maybe only allow some parts to be lists/tuples ?
|
#TODO: maybe only allow some parts to be lists/tuples ?
|
||||||
return '/' + '/'.join(
|
return '/' + '/'.join(
|
||||||
quote_plus(_escape(p), ',') for p in parts if p not in SKIP_IN_PATH)
|
# preserve ',' and '*' in url for nicer URLs in logs
|
||||||
|
quote_plus(_escape(p), ',*') for p in parts if p not in SKIP_IN_PATH)
|
||||||
|
|
||||||
# parameters that apply to all methods
|
# parameters that apply to all methods
|
||||||
GLOBAL_PARAMS = ('pretty', )
|
GLOBAL_PARAMS = ('pretty', )
|
||||||
|
|||||||
Reference in New Issue
Block a user