Shyam Ramath created VALIDATOR-469:
--------------------------------------

             Summary: Domain validator is not up to date with latest TLD (Top 
Level domain) list
                 Key: VALIDATOR-469
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-469
             Project: Commons Validator
          Issue Type: Bug
          Components: Framework
    Affects Versions: 1.6
         Environment: Production build 
            Reporter: Shyam Ramath
             Fix For: 1.7


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.{color:#de350b}*sport.*   
{color:#172b4d}the validation returned error for this domain.{color}{color}

{color:#de350b}{color:#172b4d}then look at the code and figured that this 
particular domain (sport) is missing from your list. {color}{color}

src-code link

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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to