Skip to content

Commit 653dcca

Browse files
committed
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 6bd9239.
1 parent 1bc53d2 commit 653dcca

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

cloudmonkey/requester.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -189,9 +189,6 @@ def make_request(command, args, logger, url, credentials, expires,
189189
args[key] = value
190190
if not key:
191191
args.pop(key)
192-
else:
193-
if key in ['publickey', 'privatekey', 'certificate']:
194-
args[key] = urllib.quote_plus(str(value))
195192

196193
# try to use the apikey/secretkey method by default
197194
# followed by trying to check if we're using integration port

0 commit comments

Comments
 (0)