Skip to content

Commit 46fcb03

Browse files
author
Jessica Wang
committed
CLOUDSTACK-3341: UI > template/ISO page > downloadTemplate/downloadISO action - do not decode URL return in extractTemplate API response.
1 parent 5dc8bf9 commit 46fcb03

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎ui/scripts/templates.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@
586586
return 'Downloading template';
587587
},
588588
complete: function(args) {
589-
var url = decodeURIComponent(args.url);
589+
var url = args.url;
590590
var htmlMsg = _l('message.download.template');
591591
var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url);
592592
return htmlMsg2;
@@ -1235,7 +1235,7 @@
12351235
return 'label.action.download.ISO';
12361236
},
12371237
complete: function(args) {
1238-
var url = decodeURIComponent(args.url);
1238+
var url = args.url;
12391239
var htmlMsg = _l('message.download.ISO');
12401240
var htmlMsg2 = htmlMsg.replace(/#/, url).replace(/00000/, url);
12411241
return htmlMsg2;

0 commit comments

Comments
 (0)