[
https://issues.apache.org/jira/browse/WICKET-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrea Del Bene resolved WICKET-5809.
-------------------------------------
Resolution: Fixed
> 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)