Madan Ranganath created VALIDATOR-457:
-----------------------------------------

             Summary: 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


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)

Reply via email to