summaryrefslogtreecommitdiff
path: root/www/js
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2020-04-17 15:20:32 -0400
committerPliable Pixels <pliablepixels@gmail.com>2020-04-17 15:20:32 -0400
commit9a05c6fe1e1cb728a63fee9716401c8c26bcd5a7 (patch)
tree77d5c38dc684089ce0554ce9616a8d874fc95e8d /www/js
parent9092959191677e6a652953c833a92e37f451b709 (diff)
don't urlencode in error case either
Diffstat (limited to 'www/js')
-rwxr-xr-xwww/js/app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/app.js b/www/js/app.js
index a8041b1f..ee04948f 100755
--- a/www/js/app.js
+++ b/www/js/app.js
@@ -2160,7 +2160,7 @@ angular.module('zmApp', [
options.skipIntercept = true;
// nvr.debug ("cordova: intercept got url "+url);
//nvr.debug ("cordova: intercept url after encode "+encodeURI(url));
- cordova.plugin.http.sendRequest(encodeURI(url), options,
+ cordova.plugin.http.sendRequest(url, options,
function (succ) {
d.resolve(succ);
return d.promise;