Merge pull request #709 from borisroman/CLOUDSTACK-8742

Removed double encoding of Public Key from JS.See Cloudstack issue CLOUDSTACK-8742 & CLOUDSTACK-8649 for information.

* pr/709:
  Removed double encoding of Public Key from JS.

Signed-off-by: Wido den Hollander <wido@widodh.nl>
This commit is contained in:
Wido den Hollander 2015-08-18 11:43:35 +02:00
commit 8a1d632273
1 changed files with 1 additions and 1 deletions

View File

@ -1813,7 +1813,7 @@
if (args.data.publickey != null && args.data.publickey.length > 0) {
$.extend(data, {
publickey: encodeURIComponent(args.data.publickey)
publickey: args.data.publickey
});
$.ajax({
url: createURL('registerSSHKeyPair'),