[ 
https://issues.apache.org/jira/browse/VALIDATOR-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17762218#comment-17762218
 ] 

Sebb commented on VALIDATOR-490:
--------------------------------

Note that you can instantiate a version of the class with updates to the 
default settings, including LOCAL_TLDs.

I think it would be wrong to change the default without very strong evidence 
that the change is in accordance with the standards. From what I have seen so 
far, this is not the case.

> [DomainValidator] Add local to LOCAL_TLDs 
> ------------------------------------------
>
>                 Key: VALIDATOR-490
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-490
>             Project: Commons Validator
>          Issue Type: Improvement
>    Affects Versions: 1.7
>            Reporter: Jon Krehling
>            Priority: Minor
>
> I am looking to have .local added to the list of LOCAL_TLDs 
> [https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml]
> It seems odd to have .localhost and not .local and by default every service 
> in kubernetes will end with .local
> https://github.com/apache/commons-validator/blob/master/src/main/java/org/apache/commons/validator/routines/DomainValidator.java#L2002
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to