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/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'www/js/app.js') 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 -- cgit v1.2.3