You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/01/10 18:44:34 UTC

[jira] [Commented] (WICKET-5809) URL IPv6 parsing

    [ https://issues.apache.org/jira/browse/WICKET-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14272621#comment-14272621 ] 

ASF subversion and git services commented on WICKET-5809:
---------------------------------------------------------

Commit b1f4e6a3444dab7869a26ce7914e4faaabd50462 in wicket's branch refs/heads/master from [~bitstorm]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=b1f4e6a ]

WICKET-5809 URL IPv6 parsing

> URL IPv6 parsing
> ----------------
>
>                 Key: WICKET-5809
>                 URL: https://issues.apache.org/jira/browse/WICKET-5809
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.17.0
>            Reporter: Guy Wuyts
>            Assignee: Andrea Del Bene
>            Priority: Minor
>
> There is an issue with native IPv6 address parsing.
> "https://[::1]/myapp", URL parsing fails:
> org.apache.wicket.request.Url.parse("https://[::1]/myapp")
> generates an exception:
> java.lang.NumberFormatException: For input string: "1]"
> at java.lang.NumberFormatException.forInputString(
> NumberFormatException.java:65)
> at java.lang.Integer.parseInt(Integer.java:492)
> However, "https://[::1]:80/myapp" works as expected.



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