Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
Adobe Flex SDK 3.0 (Release)
-
None
-
None
-
Affected OS(s): All OS Platforms
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Attempt to insert plus character ("+") into field that is checked with EmailValidator class
Actual Results:
Fails validation
Expected Results:
The plus sign is a valid character for email addresses as referenced in RFC 2822 (http://www.faqs.org/rfcs/rfc2822.html)
Its use has gained popularity with its support in Gmail to allow custom filtering.
Workaround (if any):
Use the following RegEx code:
^[a-z0-9_\+-](\.[a-z0-9_\+-])@[a-z0-9-](\.[a-z0-9-])\.([a-z]
{2,4})$