DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1450>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1450

Incorrect encode URL with session ID





------- Additional Comments From [EMAIL PROTECTED]  2002-02-21 22:01 -------
[PATCH]

Hello!

Here is my patch against Tomcat 4.0.2 sources
The file is located at catalina/src/share/org/apache/catalina/connector

--- HttpResponseBase.java.orig  Thu Feb 21 21:53:02 2002
+++ HttpResponseBase.java       Thu Feb 21 21:51:38 2002
@@ -715,6 +715,10 @@
         if ((url == null) || (sessionId == null))
             return (url);
 
+       if (url.indexOf(";jsessionid=" + sessionId) != -1)
+           return (url);
+       
+
         String path = url;
         String query = "";
         String anchor = "";

I would really appreciate it if someone with CVS commit access committed this.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to