mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 00:13:35 +01:00
Update email regex to allow & and other weird stuff
This commit is contained in:
parent
014f99c02b
commit
a14d6d9bb4
@ -21,7 +21,7 @@ class etemplate_widget_url extends etemplate_widget
|
||||
/**
|
||||
* Regexes for validating
|
||||
*/
|
||||
const EMAIL_PREG = '([a-z0-9][a-z0-9._-]*)?[a-z0-9_-]@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,6}';
|
||||
const EMAIL_PREG = '([a-z0-9][a-z0-9._\&\+-]*)?[a-z0-9_]@([a-z0-9ÄÖÜäöüß](|[a-z0-9ÄÖÜäöüß_-]*[a-z0-9ÄÖÜäöüß])\.)+[a-z]{2,6}';
|
||||
|
||||
/**
|
||||
* Validate input
|
||||
|
Loading…
Reference in New Issue
Block a user