Revert "Fix some parameters are double encoded"
This breaks API, api expects only single encoding. Tested against 4.5.1.
... "(UI uses javascript to encode on
the fly, see ui/scripts/accounts.js:1852), such as registerSSHKeyPair/publickey.
I did a quick search for other cases, bu there may be more parameters."
This reverts commit 6bd92395592c133a63b8087bf4acc9cb3a1aac0d.
diff --git a/cloudmonkey/requester.py b/cloudmonkey/requester.py
index a8f587b..d652948 100644
--- a/cloudmonkey/requester.py
+++ b/cloudmonkey/requester.py
@@ -189,9 +189,6 @@
args[key] = value
if not key:
args.pop(key)
- else:
- if key in ['publickey', 'privatekey', 'certificate']:
- args[key] = urllib.quote_plus(str(value))
# try to use the apikey/secretkey method by default
# followed by trying to check if we're using integration port