From 514314da582cb3ab4aaca2af7feb5bd0be746a61 Mon Sep 17 00:00:00 2001 From: eric Date: Tue, 12 Apr 2005 14:42:09 +0000 Subject: accept a four-letter TLD. closes bug 2543 --- web/lib/aur.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/lib') diff --git a/web/lib/aur.inc b/web/lib/aur.inc index dae2fe4..d3f609c 100644 --- a/web/lib/aur.inc +++ b/web/lib/aur.inc @@ -129,7 +129,7 @@ function check_sid() { # verify that an email address looks like it is legitimate # function valid_email($addy) { - return eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,3}$", $addy); + return eregi("^[a-z0-9\._-]+@+[a-z0-9\._-]+\.+[a-z]{2,4}$", $addy); } # a new seed value for mt_srand() -- cgit v1.2.3-70-g09d2