add another idiot to the filter
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 7 Aug 2009 12:31:54 +0000 (12:31 +0000)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 7 Aug 2009 12:31:54 +0000 (12:31 +0000)
cgi-bin/register.pl

index 3c42528867b31cafb380d61f11ea60007e8df3c6..3a72a513898941a441d44f8e0266584fb222857c 100755 (executable)
@@ -78,7 +78,8 @@ unless ($os && $osv && $comp && $compv && $arch && $email && $owner)
 
 # some idiot has a script that tries to talk to me
 # this should catch and dispose of him
-if (grep {/rgergerger|\@pgbuildfarm\.org|Content-Type:|http:|mailto:|href=|None|Unknown/} $os,$osv,$comp,$compv,$arch,$email,$owner)
+if ((grep {/rgergerger|\@pgbuildfarm\.org|Content-Type:|http:|mailto:|href=|None|Unknown/} $os,$osv,$comp,$compv,$arch,$email,$owner)
+    || ($email =! /john.*\@aol.com/) )
 {
     print 
        "Status: 403 Forbidden - go away idiot\n",