You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Christophe Lé (Jira)" <ji...@apache.org> on 2019/09/24 02:28:00 UTC

[jira] [Created] (VALIDATOR-459) Allow UrlValidator/DomainValidator to skip the TLD validation

Christophe Lé created VALIDATOR-459:
---------------------------------------

             Summary: Allow UrlValidator/DomainValidator to skip the TLD validation
                 Key: VALIDATOR-459
                 URL: https://issues.apache.org/jira/browse/VALIDATOR-459
             Project: Commons Validator
          Issue Type: Improvement
            Reporter: Christophe Lé


Hello there,

One of my applications is validating other application URLs in the same network. Those are ending with *.local*. Unfortunately, *.local* is not referenced anywhere in DomainValidator.

Besides, whenever new TLDs are out, the library has to be updated with those.

I was wondering if adding a flag to skip the TLD validation would be an interesting feature to have?
 # Whatever exotic internal TLD an application is using, if an URL points to nothing it doesn't matter since ultimately, the component which is going to initiate a network call will fail.
 # If people doesn't bother about the legitimacy of a TLD, they should not be _forced_ to update to the latest version of the library whenever a new TLD is out. Such action should be motivated for features or security reasons.

What do you think?

 



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