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

Sebb resolved VALIDATOR-297.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.4.1

URL: http://svn.apache.org/r1649251
Log:
VALIDATOR-297 - Punycode url is not valid. Top-level domain regex matching was 
wrong;
                e.g. it did not allow embedded "-" as per RFC2396

Modified:
    commons/proper/validator/trunk/RELEASE-NOTES.txt
    commons/proper/validator/trunk/src/changes/changes.xml
    
commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/DomainValidator.java
    
commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/DomainValidatorTest.java


> 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
>             Fix For: 1.4.1
>
>
> 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)

Reply via email to