URI ignores invalid ipv6 address while parsing authority
Chris Hegarty
chris.hegarty at oracle.com
Fri Mar 11 05:59:07 PST 2011
JDK7 changeset [1]:
Changeset: 3fdfa11ea5ac
Author: chegar
Date: 2011-03-11 13:50 +0000
URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/3fdfa11ea5ac
7023363: URI("ftp", "[www.abc.com]", "/dir1/dir2", "query", "frag")
should throw URISyntaxException
Reviewed-by: alanb, michaelm
! src/share/classes/java/net/URI.java
! test/java/net/URI/Test.java
-Chris.
[1] http://mail.openjdk.java.net/pipermail/net-dev/2011-March/002873.html
More information about the net-dev
mailing list