From f7398131c16045994dbcc99466fd8e2851ecb619 Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 12 Mar 2010 14:51:15 +0000 Subject: [PATCH] bozo filter --- cgi-bin/register.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi-bin/register.pl b/cgi-bin/register.pl index 3a72a51..3d68cb6 100755 --- a/cgi-bin/register.pl +++ b/cgi-bin/register.pl @@ -79,7 +79,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 if ((grep {/rgergerger|\@pgbuildfarm\.org|Content-Type:|http:|mailto:|href=|None|Unknown/} $os,$osv,$comp,$compv,$arch,$email,$owner) - || ($email =! /john.*\@aol.com/) ) + || ($email =~ /john.*\@aol.com/) ) { print "Status: 403 Forbidden - go away idiot\n", -- 2.30.2