tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Nielsen <gl...@voyager.apg.more.net>
Subject Re: cvs commit: jakarta-tomcat-4.0/tester/src/bin tester.xml
Date Sun, 26 Aug 2001 02:12:18 GMT
Craig,

Would this replacement URL class allow the manager servlet bug which prevents
releoading a war file from the same URL to be fixed in Tomcat 4?

Regards,

Glenn

craigmcc@apache.org wrote:
> 
> craigmcc    01/08/24 16:06:08
> 
>   Modified:    catalina build.xml
>                catalina/src/share/org/apache/catalina/connector
>                         HttpResponseBase.java
>                tester/src/bin tester.xml
>   Added:       catalina/src/share/org/apache/catalina/util URL.java
>                catalina/src/test/org/apache/catalina/util URLTestCase.java
>   Log:
>   Add a replacement for the java.net.URL class that does the parsing and
>   relative-URL resolution performed by java.net.URL, but does not suffer
>   from the limitation that it only supports protocols for which a
>   URLStreamHandler is installed.  In particular, this was preventing a
>   Tomcat 4 install from successfully performing a response.sendRedirect() to
>   an SSL-enabled URL, unless the redirecting Tomcat itself had JSSE
>   installed.
> 
>   Also added extensives JUnit tests to ensure that parsing and relative
>   resolution works as much as possible like java.net.URL does it.  There are
>   three cases where the answers are different, that are commented out.
>   These are really edge cases that won't matter in real life, but they
>   should eventually be corrected.
> 
>   NOTE:  The parsing and path normalization code is horrendously inefficient
>   at the moment.  I focused first on getting the behavior right, and
>   creating a bunch of unit tests so that we can make sure we don't introduce
>   regressions as the string processing is optimized.
> 
>   PR: Bugzilla #3139
>   Submitted by: Shawn Bayern <bayern@essentially.net>

 <snip a huge commit>

----------------------------------------------------------------------
Glenn Nielsen             glenn@more.net | /* Spelin donut madder    |
MOREnet System Programming               |  * if iz ina coment.      |
Missouri Research and Education Network  |  */                       |
----------------------------------------------------------------------

Mime
View raw message