From 4932c36b1bcc1acd6e5b68a7874a25097647f9af Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 15 Apr 2020 10:51:56 -0400 Subject: encode all non standard characters --- www/js/WizardCtrl.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'www/js/WizardCtrl.js') diff --git a/www/js/WizardCtrl.js b/www/js/WizardCtrl.js index c017b03f..897ffa18 100644 --- a/www/js/WizardCtrl.js +++ b/www/js/WizardCtrl.js @@ -238,7 +238,7 @@ angular.module('zmApp.controllers').controller('zmApp.WizardCtrl', ['$scope', '$ .then(function (success) { if (success == "") { NVR.log("getAuthKey returned null, so going user=&pwd= way"); - tail += "&user=" + $scope.wizard.zmuser + "&pass=" + $scope.wizard.zmpassword; + tail += "&user=" + $scope.wizard.zmuser + "&pass=" + encodeURIComponent($scope.wizard.zmpassword); } else { tail += success; } -- cgit v1.2.3