You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Mrinmoy (JIRA)" <ji...@apache.org> on 2019/02/26 22:47:00 UTC
[jira] [Created] (VALIDATOR-454) DomainValidator.isvalid("com")
returns valid
Mrinmoy created VALIDATOR-454:
---------------------------------
Summary: 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
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)