[
https://issues.apache.org/jira/browse/VALIDATOR-457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16841081#comment-16841081
]
Sebb commented on VALIDATOR-457:
--------------------------------
The list of TLDs is always changing, so the code now allows the list to be
overridden on startup.
See updateTLDOverride():
[https://commons.apache.org/proper/commons-validator/apidocs/org/apache/commons/validator/routines/DomainValidator.html#updateTLDOverride(org.apache.commons.validator.routines.DomainValidator.ArrayType,%20java.lang.String[]])
> Email validation is failing when the domain name is "llc" (Limited Liability
> option)
> ------------------------------------------------------------------------------------
>
> Key: VALIDATOR-457
> URL: https://issues.apache.org/jira/browse/VALIDATOR-457
> Project: Commons Validator
> Issue Type: Bug
> Reporter: Madan Ranganath
> Priority: Minor
>
> We are using 1.6 version of the Commons validator. It is working in almost
> all domains for email validation. We recently started seeing issues, when the
> email address is in this format -
> [[email protected]|mailto:[email protected]]. Validator returns this email
> address as false.
> <*dependency*>
> <*groupId*>commons-validator</*groupId*>
> <*artifactId*>commons-validator</*artifactId*>
> <*version*>1.6</*version*>
> </*dependency*>
>
> I debugged further and found out that in the String array GENERIC_TLDS[] in
> DomainValidator class, the domain, "llc" is missing. If we add that it should
> start working.
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)