You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Andrea Del Bene (JIRA)" <ji...@apache.org> on 2015/01/09 21:29:34 UTC
[jira] [Assigned] (WICKET-5809) URL IPv6 parsing
[ https://issues.apache.org/jira/browse/WICKET-5809?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Del Bene reassigned WICKET-5809:
---------------------------------------
Assignee: Andrea Del Bene
> 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)