projects
/
kamaki
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31e9ee9
)
All URL-space params are now URL-encoded
author
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Mon, 27 Jan 2014 11:07:22 +0000
(13:07 +0200)
committer
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Wed, 19 Feb 2014 11:04:45 +0000
(13:04 +0200)
Refs: #4986
kamaki/clients/__init__.py
patch
|
blob
|
history
diff --git
a/kamaki/clients/__init__.py
b/kamaki/clients/__init__.py
index
98211ee
..
1773a91
100644
(file)
--- a/
kamaki/clients/__init__.py
+++ b/
kamaki/clients/__init__.py
@@
-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)