summaryrefslogtreecommitdiff
path: root/www/js/app.js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-04-15 10:51:56 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-04-15 10:51:56 -0400
commit4932c36b1bcc1acd6e5b68a7874a25097647f9af (patch)
tree4b9c606a00715a42e74bb83d762c671dbf56d960 /www/js/app.js
parentd292a9318d8adcfa86b62e8909f8ea13d5816227 (diff)
encode all non standard characters
Diffstat (limited to 'www/js/app.js')
-rwxr-xr-xwww/js/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index 9c745a9a..a8041b1f 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -2100,7 +2100,8 @@ angular.module('zmApp', [
// nvr.debug ("cordova: got url "+url);
// nvr.debug ("cordova: url after encode "+encodeURI(url));
- cordova.plugin.http.sendRequest(encodeURI(url), options,
+ //cordova.plugin.http.sendRequest(encodeURI(url), options,
+ cordova.plugin.http.sendRequest(url, options,
function (succ) {
// automatic JSON parse if no responseType: text
// fall back to text if JSON parse fails too