commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Ignatysh (JIRA)" <>
Subject [jira] [Created] (VALIDATOR-425) UrlValidator fails to validate punycode encode URLs
Date Tue, 30 May 2017 12:33:04 GMT
Michael Ignatysh created VALIDATOR-425:

             Summary: UrlValidator fails to validate punycode encode URLs
                 Key: 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. 

http://кто.ру/ - is a valid URL which will be encoded as:

The expected behavior is that second URL passes validation.

This message was sent by Atlassian JIRA

View raw message