summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xMyProxy.pl3
-rw-r--r--adzap/scripts/prematch.list2
2 files changed, 4 insertions, 1 deletions
diff --git a/MyProxy.pl b/MyProxy.pl
index 1251057..f7af9fb 100755
--- a/MyProxy.pl
+++ b/MyProxy.pl
@@ -166,6 +166,9 @@ sub doFilter {
for (@PATTERNS) {
my ($pat,$sub,@rest)=@$_;
if ($uri=~/$pat/) {
+ if ($doFilterLogger->is_debug()) {
+ $doFilterLogger->debug("$uri matched $pat");
+ }
$self->proxy->stash('url_matches',[$1,$2,$3,$4,$5,$6,$7,$8,$9]);
$self->proxy->stash('pre_match',substr($uri,0,$-[0]));
$self->proxy->stash('full_match',substr($uri,$-[0],$+[0]-$-[0]));
diff --git a/adzap/scripts/prematch.list b/adzap/scripts/prematch.list
index 68c5eee..89c3115 100644
--- a/adzap/scripts/prematch.list
+++ b/adzap/scripts/prematch.list
@@ -6,4 +6,4 @@ PRINT http://(www*.|)gamegirladvance.com/(archives/20[0-9][0-9]/[0-9][0-9]/[0-9]
PRINT http://(www*.|)wired.com/wired/archive/([^p]**)(?<!_pr).html** http://www.wired.com/wired/archive/${2}_pr.html
PRINT http://(www*.|)wired.com/news/[^p]*/0,*,(*),00.html** http://www.wired.com/news/print/0,1294,$2,00.html
PRINT (http://*.boston.com/**/articles/[0-9][0-9][0-9][0-9]/[0-9][0-9]/[0-9][0-9]/*/)(|?)** $1?mode=PF
-COUNTERJS http://*/counter?**\.js
+COUNTERJS http://*/**counter**.js