[ https://issues.apache.org/jira/browse/VALIDATOR-425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16039646#comment-16039646 ]
Sebb commented on VALIDATOR-425: -------------------------------- UrlValidator does support punycode. See for example UrlValidatorTest.testValidator290() The problem here is that the TLD is not valid. > 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)