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 15680] - Wellcome file redirect loses session
Date Fri, 24 Oct 2003 18:37:12 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=15680>.
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=15680

Wellcome file redirect loses session

apache-bugzilla@ketan.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Wellcome file redirect      |Wellcome file redirect loses
                   |looses session              |session



------- Additional Comments From apache-bugzilla@ketan.org  2003-10-24 18:37 -------
As far as I can tell, it's a pretty simple fix.  In
org.apache.catalina.servlets.DefaultServlet, there are two calls like:

response.sendRedirect(redirectPath)

in the method:

protected void serveResource(HttpServletRequest request, HttpServletResponse
response, boolean content)

They just need to be changed to:

response.sendRedirect(response.encodeRedirectURL(redirectPath));

And then the redirect will have the session ID included.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message