From 8bab8832b7b7e4d4367961bc30f89b3a7ff301c9 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 2 Jun 2014 17:45:09 +0200 Subject: [PATCH 1/1] redirect wrapper: Adopt to new squid helper protocol. --- config/rootfiles/core/78/filelists/files | 1 + config/urlfilter/redirect_wrapper | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/rootfiles/core/78/filelists/files b/config/rootfiles/core/78/filelists/files index fc6357c97..851ce36f9 100644 --- a/config/rootfiles/core/78/filelists/files +++ b/config/rootfiles/core/78/filelists/files @@ -10,6 +10,7 @@ srv/web/ipfire/cgi-bin/ovpnmain.cgi srv/web/ipfire/cgi-bin/proxy.cgi srv/web/ipfire/html/themes/ipfire/include/functions.pl usr/bin/squidGuard +usr/sbin/redirect_wrapper usr/sbin/updxlrator usr/local/bin/setddns.pl var/ipfire/langs diff --git a/config/urlfilter/redirect_wrapper b/config/urlfilter/redirect_wrapper index ceae12b2b..96cc0a094 100644 --- a/config/urlfilter/redirect_wrapper +++ b/config/urlfilter/redirect_wrapper @@ -100,7 +100,7 @@ while($line = <>) { } # break if redirector changes data - if($return ne "\n" and $return ne $line ){ + if($return ne "ERR\n" and $return ne $line ){ if ( $redirectors->[$i] ne "/usr/sbin/updxlrator"){ if ($debug){ writetolog($redirectors->[$i]." is stopping querry because block was found."); -- 2.39.2