diff options
author | jim-p <jimp@pfsense.org> | 2010-10-18 14:10:45 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2010-10-18 14:22:47 -0400 |
commit | 76c3422f13661cbb37e66e297c27efc6b5a6c569 (patch) | |
tree | 6816974ea70882ac8c340776e44b7dac7b8d8bfd /config/squidGuard/squidguard_configurator.inc | |
parent | c11e08971fa6d1844670f75216fc8339eee73ee6 (diff) | |
download | pfsense-packages-76c3422f13661cbb37e66e297c27efc6b5a6c569.tar.gz pfsense-packages-76c3422f13661cbb37e66e297c27efc6b5a6c569.tar.bz2 pfsense-packages-76c3422f13661cbb37e66e297c27efc6b5a6c569.zip |
Patch from vcoque to restrict squidguard redirect for errors to http only.
Diffstat (limited to 'config/squidGuard/squidguard_configurator.inc')
-rw-r--r-- | config/squidGuard/squidguard_configurator.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/squidGuard/squidguard_configurator.inc b/config/squidGuard/squidguard_configurator.inc index afc6d23a..f008ef2e 100644 --- a/config/squidGuard/squidguard_configurator.inc +++ b/config/squidGuard/squidguard_configurator.inc @@ -1069,8 +1069,7 @@ function sg_redirector_base_url($rdr_info, $redirect_mode) # gui port, ip & proto $guiip = (!empty($squidguard_config[F_CURRENT_LAN_IP])) ? $squidguard_config[F_CURRENT_LAN_IP] : '127.0.0.1'; $guiport = (!empty($squidguard_config[F_CURRENT_GUI_PORT])) ? $squidguard_config[F_CURRENT_GUI_PORT] : '80'; - $guiproto = ($squidguard_config[F_CURRENT_GUI_PROTO] === "https") ? "https" : "http"; - $rdr_path = "$guiproto://$guiip:$guiport" . REDIRECT_BASE_URL; + $rdr_path = "http://$guiip:$guiport" . REDIRECT_BASE_URL; # check redirect $errmsg = ''; |