diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2020-04-15 10:51:56 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2020-04-15 10:51:56 -0400 |
| commit | 4932c36b1bcc1acd6e5b68a7874a25097647f9af (patch) | |
| tree | 4b9c606a00715a42e74bb83d762c671dbf56d960 /www/js/WizardCtrl.js | |
| parent | d292a9318d8adcfa86b62e8909f8ea13d5816227 (diff) | |
encode all non standard characters
Diffstat (limited to 'www/js/WizardCtrl.js')
| -rw-r--r-- | www/js/WizardCtrl.js | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |
