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:
Vincent Untz 2006-04-01 06:53:21 +00:00 committed by Vincent Untz
parent ae54f44f4d
commit d962095cde
2 changed files with 6 additions and 1 deletions

View file

@ -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:

View file

@ -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.";
}