You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2005/02/16 02:24:05 UTC

DO NOT REPLY [Bug 31232] - response.encodeURL() not encoding URL when mix of cookies and URL rewriting

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

http://issues.apache.org/bugzilla/show_bug.cgi?id=31232





------- Additional Comments From amoebaworks@yahoo.ca  2005-02-16 02:24 -------
Created an attachment (id=14294)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=14294&action=view)
Patch for issue

Hey Yoav,

I've got a patch for this. Finally got some time to track it down.

Currently the cookie session ID always overrides the URL session ID, regardless
if the context enables cookies or not.

This patch will check to see if the context enables cookies first. If it does
then the cookie session ID overrides the session ID from the URL. If it does
not then the parseSessionCookieId is skipped completely.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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