diff --git a/elasticsearch/client/utils.py b/elasticsearch/client/utils.py index 722f9821..fc33c43b 100644 --- a/elasticsearch/client/utils.py +++ b/elasticsearch/client/utils.py @@ -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', )