accept + in email addresses
2006-04-01 Vincent Untz <vuntz@gnome.org> * foundation.gnome.org/membership/application.wml: accept + in email addresses
This commit is contained in:
parent
ae54f44f4d
commit
d962095cde
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2006-04-01 Vincent Untz <vuntz@gnome.org>
|
||||
|
||||
* foundation.gnome.org/membership/application.wml: accept + in email
|
||||
addresses
|
||||
|
||||
2006-03-31 Vincent Untz <vuntz@gnome.org>
|
||||
|
||||
* foundation.gnome.org/index.wml:
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
$bad_elements[] = "name";
|
||||
$errors[] = "Please enter your name.";
|
||||
}
|
||||
if (!$email || !ereg("^[a-zA-Z0-9_.-]+@[a-zA-Z0-9_.-]+\.[a-zA-Z]+$", $email)) {
|
||||
if (!$email || !ereg("^[a-zA-Z0-9_.+-]+@[a-zA-Z0-9_.-]+\.[a-zA-Z]+$", $email)) {
|
||||
$bad_elements[] = "email";
|
||||
$errors[] = "Please enter an email address we can use to contact you.";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue