You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2023/09/05 17:49:00 UTC

[jira] [Commented] (VALIDATOR-490) [DomainValidator] Add local to LOCAL_TLDs

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

Gary D. Gregory commented on VALIDATOR-490:
-------------------------------------------

Hi.[~krehlingj]
Thank you for interest. Feel free to provide a PR on GitHub (with a unit test).

> [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)