preserve ',' and '*' in url for nicer URLs in logs

This commit is contained in:
Honza Kral
2013-09-30 19:20:50 +02:00
parent a238144bc6
commit 4f890ff89c
+2 -1
View File
@@ -45,7 +45,8 @@ def _make_path(*parts):
"""
#TODO: maybe only allow some parts to be lists/tuples ?
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
GLOBAL_PARAMS = ('pretty', )