You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Dimitrios Efthymiou (Jira)" <ji...@apache.org> on 2023/07/15 23:17:00 UTC
[jira] [Commented] (VALIDATOR-484) DomainValidator validate false for correct domain
[ https://issues.apache.org/jira/browse/VALIDATOR-484?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17743469#comment-17743469 ]
Dimitrios Efthymiou commented on VALIDATOR-484:
-----------------------------------------------
I think that the RFC 2396 doe snot allow for underscores. If it is not a problem for this project, then I could change the RegEx
> DomainValidator validate false for correct domain
> -------------------------------------------------
>
> Key: VALIDATOR-484
> URL: https://issues.apache.org/jira/browse/VALIDATOR-484
> Project: Commons Validator
> Issue Type: Bug
> Affects Versions: 1.7
> Reporter: Sedrak Dalaloyan
> Priority: Major
>
> {code:java}
> DomainValidator domainValidator = DomainValidator.getInstance();
> System.out.println(domainValidator.isValid("0021_amedia.uwaterloo.ca"));{code}
> returns false for correct domain.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)