Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
-
None
Description
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. 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.