tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernard D'Have" <b...@SpiritSystems.be>
Subject [PATCH TC4] correction to org.apache.catalina.util.URL.java
Date Wed, 05 Sep 2001 16:26:14 GMT
Hi,

small patch for the following bug:

URL context= new URL("http://localhost/cocoon/");
URL relative= new URL(context, "index.xml");

relative is set to "http://localhost/index.xml" and NOT
"http://localhost/cocoon/index.xml"
as returned by java.net.URL.


the patch in attachment consist of a small correction to URL.java and 2 more
tests in URLTestCase.

Thanks for your work,

Bernard D'Havé

Mime
View raw message