Removed double encoding of Public Key from JS.

See Cloudstack issue CLOUDSTACK-8742 for information.
This commit is contained in:
Boris Schrijver 2015-08-17 22:56:17 +02:00
parent bc51a42fc2
commit f9e21da5dd

View File

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