From 0ce0c246da72bbddacae122b891d0e816e718a8d Mon Sep 17 00:00:00 2001 From: charithag Date: Wed, 13 Jan 2016 16:49:38 +0530 Subject: [PATCH] Fix minor bugs --- .../public/js/download.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/samples/connectedcup/feature/connectedcup-feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.connectedcup.type-view/public/js/download.js b/modules/samples/connectedcup/feature/connectedcup-feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.connectedcup.type-view/public/js/download.js index 434698e9..4d9d7e17 100644 --- a/modules/samples/connectedcup/feature/connectedcup-feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.connectedcup.type-view/public/js/download.js +++ b/modules/samples/connectedcup/feature/connectedcup-feature/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.connectedcup.type-view/public/js/download.js @@ -146,7 +146,7 @@ function downloadAgent() { payload.owner = $inputs[1].value; var connectedCupRegisterURL = "/connectedcup_mgt/connectedcup/cup/register?" + - "name=" + payload.name + "&owner=" + payload.owner; + "name=" + encodeURI(payload.name) + "&owner=" + payload.owner; invokerUtil.post( connectedCupRegisterURL,