commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VALIDATOR-297) Punycode url is not valid
Date Sat, 03 Jan 2015 20:02:35 GMT

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

Sebb commented on VALIDATOR-297:
--------------------------------

There's another issue, which is that the TLD regex is wrong; it excludes the "-" which is
clearly allowed by RFC2396:

toplabel      = alpha | alpha *( alphanum | "-" ) alphanum

> Punycode url is not valid
> -------------------------
>
>                 Key: VALIDATOR-297
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-297
>             Project: Commons Validator
>          Issue Type: Bug
>    Affects Versions: 1.3.1 Release
>            Reporter: Alexander Rytov
>
> commons validator doesnt pass the 
> {noformat}
> "http://xn--d1abbgf6aiiy.xn--p1ai" 
> {noformat}
> url because isValidAuthority check on 2-4 symbols top-level domains



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message