aboutsummaryrefslogtreecommitdiffstats
path: root/config/squidGuard
diff options
context:
space:
mode:
Diffstat (limited to 'config/squidGuard')
-rw-r--r--config/squidGuard/squidguard_blacklist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/squidGuard/squidguard_blacklist.php b/config/squidGuard/squidguard_blacklist.php
index 54699928..5e8382ae 100644
--- a/config/squidGuard/squidguard_blacklist.php
+++ b/config/squidGuard/squidguard_blacklist.php
@@ -185,7 +185,7 @@ function getactivity(action) {
var url = "./squidguard_blacklist.php";
var pars = 'getactivity=yes';
- if (action == 'download') pars = pars + '&blacklist_download_start=yes&blacklist_url=' + el('blacklist_url').value;
+ if (action == 'download') pars = pars + '&blacklist_download_start=yes&blacklist_url=' + encodeURIComponent(el('blacklist_url').value);
if (action == 'cancel') pars = pars + '&blacklist_download_cancel=yes';
if (action == 'restore_default') pars = pars + '&blacklist_restore_default=yes';
if (action == 'clear_log') pars = pars + '&blacklist_clear_log=yes';