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/16 00:38:00 UTC

[jira] [Comment Edited] (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 edited comment on VALIDATOR-484 at 7/16/23 12:37 AM:
-------------------------------------------------------------------------

I think that the RFC 2396 does not allow for underscores. If it is not a problem for this project, then I could change the RegEx


was (Author: JIRAUSER301169):
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)