Commit b90f4049 by Per Bothner Committed by Per Bothner

URLStreamHandler.java (parseURL): Fix bug which would "canonicalize" "../../xxx" to "/xxx".


	* java/net/URLStreamHandler.java (parseURL):  Fix bug which would
	"canonicalize" "../../xxx" to "/xxx".

From-SVN: r40641
parent 86c9776b
2001-03-19 Per Bothner <per@bothner.com>
* java/net/URLStreamHandler.java (parseURL): Fix bug which would
"canonicalize" "../../xxx" to "/xxx".
2001-03-19 Mark Wielaard <mark@klomp.org>
* java/util/ArrayList.java: Remove RCS keywords from comments
......
......@@ -111,7 +111,7 @@ public abstract class URLStreamHandler
if (previous >= 0)
file = file.substring(0, previous) + file.substring(index + 3);
else
file = file.substring(index + 3);
break;
}
u.set(u.getProtocol(), host, port, file, u.getRef());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment