You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Madan Ranganath (JIRA)" <ji...@apache.org> on 2019/05/14 12:47:00 UTC

[jira] [Created] (VALIDATOR-457) Email validation is failing when the domain name is "llc" (Limited Liability option)

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 - [abc@onedomain.llc|mailto:abc@onedomain.llc]. 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)