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

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

Commit 86e49b017688e73bcd2adf915d3e667a852b13de in wicket's branch 
refs/heads/wicket-6.x from [~bitstorm]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=86e49b0 ]

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.18.0, 7.0.0-M4
>            Reporter: Guy Wuyts
>            Assignee: Andrea Del Bene
>            Priority: Minor
>             Fix For: 7.0.0-M5, 6.19.0
>
>
> 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)

Reply via email to