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-375) UrlValidator fails on IPv6 URL
Date Thu, 05 Nov 2015 18:50:27 GMT

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

Sebb resolved VALIDATOR-375.
----------------------------
       Resolution: Fixed
    Fix Version/s: 1.5.0

URL: http://svn.apache.org/viewvc?rev=1712846&view=rev
Log:
VALIDATOR-375 UrlValidator fails on IPv6 URL

Modified:
    commons/proper/validator/trunk/src/changes/changes.xml
    commons/proper/validator/trunk/src/main/java/org/apache/commons/validator/routines/UrlValidator.java
    commons/proper/validator/trunk/src/test/java/org/apache/commons/validator/routines/UrlValidatorTest.java


> UrlValidator fails on IPv6 URL
> ------------------------------
>
>                 Key: VALIDATOR-375
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-375
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: Routines
>    Affects Versions: 1.4.1 Release
>            Reporter: George Stanchev
>             Fix For: 1.5.0
>
>         Attachments: UrlValidatorTest.java.patch
>
>
> I have created an UrlValidator:
> {code:java}
> String[] schemes = {"http", "https"};
> UrlValidator urlValidator = new UrlValidator(schemes, UrlValidator.ALLOW_LOCAL_URLS);
> urlValidator.isValid("https://[fe80::8e0:6afa:a2d5:1c8a]/myapp")
> {code}
> evaluates to false.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message