From a03eeae59c63c6a2da1d8c207c03a87b980c2f0a Mon Sep 17 00:00:00 2001 From: Jessica Wang Date: Mon, 8 Jul 2013 13:10:37 -0700 Subject: [PATCH] CLOUDSTACK-3341: UI > template/ISO page > downloadTemplate/downloadISO action - do not decode URL return in extractTemplate API response. --- ui/scripts/templates.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js index b78a94df34e..00a28cd707b 100644 --- a/ui/scripts/templates.js +++ b/ui/scripts/templates.js @@ -586,7 +586,7 @@ return 'Downloading template'; }, complete: function(args) { - var url = decodeURIComponent(args.url); + var url = args.url; var htmlMsg = _l('message.download.template'); var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url); return htmlMsg2; @@ -1235,7 +1235,7 @@ return 'label.action.download.ISO'; }, complete: function(args) { - var url = decodeURIComponent(args.url); + var url = args.url; var htmlMsg = _l('message.download.ISO'); var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url); return htmlMsg2;