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/EventDateTimeFilterCtrl.js | |
| parent | d292a9318d8adcfa86b62e8909f8ea13d5816227 (diff) | |
encode all non standard characters
Diffstat (limited to 'www/js/EventDateTimeFilterCtrl.js')
| -rw-r--r-- | www/js/EventDateTimeFilterCtrl.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/www/js/EventDateTimeFilterCtrl.js b/www/js/EventDateTimeFilterCtrl.js index ffe8cd62..e22bd0c1 100644 --- a/www/js/EventDateTimeFilterCtrl.js +++ b/www/js/EventDateTimeFilterCtrl.js @@ -154,11 +154,11 @@ angular.module('zmApp.controllers') for (var i=0; i < $scope.monitors.length; i++) { if ($scope.monitors[i].Monitor.isChecked) { totalChecked += 1; - includeString = includeString + '/MonitorId =:'+$scope.monitors[i].Monitor.Id; + includeString = includeString + '/'+encodeURIComponent('MonitorId =:')+$scope.monitors[i].Monitor.Id; } else { totalUnchecked +=1; - excludeString = excludeString + '/MonitorId !=:'+$scope.monitors[i].Monitor.Id; + excludeString = excludeString + '/'+encodeURIComponent('MonitorId !=:')+$scope.monitors[i].Monitor.Id; } } if (!totalUnchecked) { |
