mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
accept a four-letter TLD. closes bug 2543
This commit is contained in:
parent
cdab9d45bb
commit
514314da58
1 changed files with 1 additions and 1 deletions
|
@ -129,7 +129,7 @@ function check_sid() {
|
||||||
# verify that an email address looks like it is legitimate
|
# verify that an email address looks like it is legitimate
|
||||||
#
|
#
|
||||||
function valid_email($addy) {
|
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()
|
# a new seed value for mt_srand()
|
||||||
|
|
Loading…
Add table
Reference in a new issue