diff options
-rw-r--r-- | www/pfSense-pkg-squid/Makefile | 2 | ||||
-rw-r--r-- | www/pfSense-pkg-squid/files/usr/local/www/squid_clwarn.php | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/www/pfSense-pkg-squid/Makefile b/www/pfSense-pkg-squid/Makefile index 4ded8d6..9fa1564 100644 --- a/www/pfSense-pkg-squid/Makefile +++ b/www/pfSense-pkg-squid/Makefile @@ -1,7 +1,7 @@ # $FreeBSD$ PORTNAME= pfSense-pkg-squid -PORTVERSION= 0.4.17 +PORTVERSION= 0.4.18 CATEGORIES= www MASTER_SITES= # empty DISTFILES= # empty diff --git a/www/pfSense-pkg-squid/files/usr/local/www/squid_clwarn.php b/www/pfSense-pkg-squid/files/usr/local/www/squid_clwarn.php index b6faf86..83d42ae 100644 --- a/www/pfSense-pkg-squid/files/usr/local/www/squid_clwarn.php +++ b/www/pfSense-pkg-squid/files/usr/local/www/squid_clwarn.php @@ -53,7 +53,11 @@ if (preg_match("/Safebrowsing/", $virus)) { $errorreturn = 'This page cannot be displayed'; } -error_log(date("Y-m-d H:i:s") . " | VIRUS FOUND | " . $virus . " | " . $url . " | " . $source . " | " . $user . "\n", 3, "/var/log/c-icap/virus.log"); +error_log(date("Y-m-d H:i:s") . " | VIRUS FOUND | " + . str_replace('|', '', $virus) . " | " + . str_replace('|', '', $url) . " | " + . str_replace('|', '', $source) . " | " + . str_replace('|', '', $user) . "\n", 3, "/var/log/c-icap/virus.log"); ?> <style type="text/css"> |