summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authoreric <eric>2005-04-12 16:42:09 +0200
committereric <eric>2005-04-12 16:42:09 +0200
commit514314da582cb3ab4aaca2af7feb5bd0be746a61 (patch)
treeb3da22bdaa204754208c2961649c484271a79f31 /web
parentcdab9d45bb56fee17bf7714da07e978eca6e8160 (diff)
downloadaur-514314da582cb3ab4aaca2af7feb5bd0be746a61.tar.gz
aur-514314da582cb3ab4aaca2af7feb5bd0be746a61.tar.xz
accept a four-letter TLD. closes bug 2543
Diffstat (limited to 'web')
-rw-r--r--web/lib/aur.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index dae2fe4c..d3f609c1 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()