You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/02/27 06:46:00 UTC
[jira] [Commented] (VALIDATOR-454) DomainValidator.isvalid("com")
returns valid
[ https://issues.apache.org/jira/browse/VALIDATOR-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16778966#comment-16778966 ]
Michael Osipov commented on VALIDATOR-454:
------------------------------------------
Do you have a reference for that? It is an unqualified name.
> DomainValidator.isvalid("com") returns valid
> ---------------------------------------------
>
> Key: VALIDATOR-454
> URL: https://issues.apache.org/jira/browse/VALIDATOR-454
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: 1.6
> Reporter: Mrinmoy
> Priority: Major
>
> The documentation says
> isValid() Returns true if the specified {{String}} parses as a valid domain name *with a recognized top-level domain*.
>
> therefore isValid("com")` must return false as there is no top-level domain included in it
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)