Uploaded image for project: 'Commons Validator'
  1. Commons Validator
  2. VALIDATOR-457

Email validation is failing when the domain name is "llc" (Limited Liability option)

    XMLWordPrintableJSON

Details

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

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            madancr Madan Ranganath
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: