commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VALIDATOR-425) UrlValidator fails to validate punycode encode URLs
Date Tue, 06 Jun 2017 21:14:18 GMT

     [ https://issues.apache.org/jira/browse/VALIDATOR-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved VALIDATOR-425.
----------------------------
    Resolution: Not A Bug

> UrlValidator fails to validate punycode encode URLs
> ---------------------------------------------------
>
>                 Key: VALIDATOR-425
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-425
>             Project: Commons Validator
>          Issue Type: Bug
>    Affects Versions: 1.6
>            Reporter: Michael Ignatysh
>
> When working with non-ASCII characters in URL, domain section of such URLs may be encoded
with Punycode. 
> In such cases, a top level domain may contain "-" character, which fails validation.

> Example:
> http://кто.ру/ - is a valid URL which will be encoded as:
> http://xn--j1ail.xn--p1ag/
> The expected behavior is that second URL passes validation.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message