Commit 0d3785a1 authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

All URL-space params are now URL-encoded

Refs: #4986
parent 27deb8fc
......@@ -123,7 +123,7 @@ class RequestManager(Logged):
url += _encode(path[1:] if path.startswith('/') else path)
delim = '?'
for key, val in params.items():
val = '' if val in (None, False) else _encode('%s' % val)
val = quote('' if val in (None, False) else _encode('%s' % val))
url += '%s%s%s' % (delim, key, ('=%s' % val) if val else '')
delim = '&'
parsed = urlparse(url)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment