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 19:11:34 GMT

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

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

Looks like browers support both the punycode and the Unicode version, i.e. {{http://президент.рф}}

This means that the DomainValidator needs to support punycode TLDs as well.
Punycode path segments are already supported as only standard ASCII is used.
However Unicode path segments are not currently supported (VALIDATOR-235)

As a work-round until java.net.IDN is available (Java 6; code currently targets Java 4) it
would be possible to add punycode TLDs as-is.

> 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