tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 1450] - Incorrect encode URL with session ID
Date Thu, 21 Feb 2002 22:01:33 GMT
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 tilo.christ@online.de  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:tomcat-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-dev-help@jakarta.apache.org>


Mime
View raw message