[
https://issues.apache.org/jira/browse/VALIDATOR-267?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165641#comment-17165641
]
Sebb commented on VALIDATOR-267:
--------------------------------
Validator does currently allow user@com.
However comments and folding whitespace are not allowed.
> Email Validator doesn't cope with domain comments, valid user@tld 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
> Priority: Major
>
> 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 user@tld
> are legal (albeit rare) and folding whitespace is allowed. Examples are as
> follows:
> user@(a domain comment)foo.com"
> user@com
> Test \
> Folding \
> [email protected]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)