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

Domain validator is not up to date with latest TLD (Top Level domain) list

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6
    • 1.7
    • Framework
    • None
    • Production build 

    • Important

    Description

      The Domain validator (TLD) list is not to up to date in the framework src code. We are using commons validator to verify the URL schema and the email validation in our project.  I'm dealing with a production issue due to this, client is sending a domain in the url,email in the request which is not in the list of commons-validator.

      The domain in the URL we received is,  http://blah.sport.   the validation returned error for this domain.

      then look at the code and figured that this particular domain (sport) is missing from your list. 

      Latest TLD, I found in internet.

      https://data.iana.org/TLD/tlds-alpha-by-domain.txt

      src-code link

      https://commons.apache.org/proper/commons-validator/apidocs/src-html/org/apache/commons/validator/routines/DomainValidator.html

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              skoiloth Shyam Ramath
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: