git://git.exim.org
/
buildfarm-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fde3f9a
)
add another idiot to the filter
author
Andrew Dunstan
<andrew@dunslane.net>
Fri, 7 Aug 2009 12:31:54 +0000
(12:31 +0000)
committer
Andrew Dunstan
<andrew@dunslane.net>
Fri, 7 Aug 2009 12:31:54 +0000
(12:31 +0000)
cgi-bin/register.pl
patch
|
blob
|
history
diff --git
a/cgi-bin/register.pl
b/cgi-bin/register.pl
index 3c42528867b31cafb380d61f11ea60007e8df3c6..3a72a513898941a441d44f8e0266584fb222857c 100755
(executable)
--- a/
cgi-bin/register.pl
+++ b/
cgi-bin/register.pl
@@
-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",