You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Guy Wuyts (JIRA)" <ji...@apache.org> on 2015/01/09 09:37:34 UTC
[jira] [Created] (WICKET-5809) URL IPv6 parsing
Guy Wuyts created WICKET-5809:
---------------------------------
Summary: 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
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)