redirect wrapper: Adopt to new squid helper protocol.
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jun 2014 15:45:09 +0000 (17:45 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 2 Jun 2014 15:45:09 +0000 (17:45 +0200)
config/rootfiles/core/78/filelists/files
config/urlfilter/redirect_wrapper

index fc6357c..851ce36 100644 (file)
@@ -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
index ceae12b..96cc0a0 100644 (file)
@@ -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.");