From 91ed9e425dbe496bbf650889f67a827dac7531a1 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 7 Aug 2009 12:31:54 +0000 Subject: [PATCH] add another idiot to the filter --- cgi-bin/register.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cgi-bin/register.pl b/cgi-bin/register.pl index 3c42528..3a72a51 100755 --- 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", -- 2.30.2