From f9e21da5dda095f23b6809946e4a2b8ab7c8f86b Mon Sep 17 00:00:00 2001 From: Boris Schrijver Date: Mon, 17 Aug 2015 22:56:17 +0200 Subject: [PATCH] Removed double encoding of Public Key from JS. See Cloudstack issue CLOUDSTACK-8742 for information. --- ui/scripts/accounts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/scripts/accounts.js b/ui/scripts/accounts.js index e48f3a18ff4..420eb161ab4 100644 --- a/ui/scripts/accounts.js +++ b/ui/scripts/accounts.js @@ -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'),