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> | 2006-03-31  Vincent Untz  <vuntz@gnome.org> | ||||||
| 
 | 
 | ||||||
| 	* foundation.gnome.org/index.wml: | 	* foundation.gnome.org/index.wml: | ||||||
|  |  | ||||||
|  | @ -38,7 +38,7 @@ | ||||||
|         $bad_elements[] = "name"; |         $bad_elements[] = "name"; | ||||||
|         $errors[] = "Please enter your 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"; |         $bad_elements[] = "email"; | ||||||
|         $errors[] = "Please enter an email address we can use to contact you."; |         $errors[] = "Please enter an email address we can use to contact you."; | ||||||
|       } |       } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Vincent Untz
						Vincent Untz