Email Validator doesn't cope with domain comments, valid [EMAIL PROTECTED]
addresses and folding whitespace
--------------------------------------------------------------------------------------------------
Key: VALIDATOR-267
URL: https://issues.apache.org/jira/browse/VALIDATOR-267
Project: Commons Validator
Issue Type: Bug
Reporter: Chris Wareham
The class org.apache.commons.validator.routines.EmailValidator rejects certain
valid email address constructs. According to RFC2822, domain names are allowed
to have comments in parentheses, addresses of the form [EMAIL PROTECTED] are
legal (albeit rare) and folding whitespace is allowed. Examples are as follows:
user@(a domain comment)foo.com"
[EMAIL PROTECTED]
Test \
Folding \
[EMAIL PROTECTED]
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.