git://git.exim.org
/
buildfarm-server.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve filtering in register.pl.
[buildfarm-server.git]
/
cgi-bin
/
register.pl
diff --git
a/cgi-bin/register.pl
b/cgi-bin/register.pl
old mode 100644
(file)
new mode 100755
(executable)
index
dcd3ab9
..
7013dea
--- a/
cgi-bin/register.pl
+++ b/
cgi-bin/register.pl
@@
-78,7
+78,7
@@
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
# some idiot has a script that tries to talk to me
# this should catch and dispose of him
-if (grep {/\@pgbuildfarm\.org|Content-Type:/} $os,$osv,$comp,$compv,$arch,$email,$owner)
+if (grep {/\@pgbuildfarm\.org|Content-Type:
|http:|mailto:|href=|None|Unknown
/} $os,$osv,$comp,$compv,$arch,$email,$owner)
{
print
"Status: 403 Forbidden - go away idiot\n",
{
print
"Status: 403 Forbidden - go away idiot\n",