You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by mateo-jl <ma...@orange.fr> on 2009/03/31 18:19:03 UTC

Cookie handling issue

Hello,

I've seen that there was a problem with the encoding base64 within the cookies (only at reading : request.getCookies) 
When the cookie contains '=' (equals), it seems that the decoding operation stops when it encounters this char.
The prob. only happens since Tomcat 5.5.26 ans above.
Is there any correction ?

Take a look a this url: 
http://mail-archives.apache.org/mod_mbox/tomcat-dev/200802.mbox/%3C47BB0AAC.3080800@hanik.com%3E

Second question: how can i search in the archives tomcat list with a filter ?

Thank you

Re: Cookie handling issue

Posted by mateo-jl <ma...@orange.fr>.
many thanks Mark for your responses.

JL



> Message du 31/03/09 23:19
> De : "Mark Thomas" 
> A : "Tomcat Users List" 
> Copie à : 
> Objet : Re: Cookie handling issue
> 
> 
> mateo-jl wrote:
> > Hello,
> > 
> > I've seen that there was a problem with the encoding base64 within the cookies (only at reading : request.getCookies) 
> > When the cookie contains '=' (equals), it seems that the decoding operation stops when it encounters this char.
> > The prob. only happens since Tomcat 5.5.26 ans above.
> > Is there any correction ?
> 
> Some fixes in 5.5.27 - complete fix hopefully in 5.5.28. Alternatively:
> - use v1 cookies
> - use 6.0.19 (assuming it gets released as stable)
> 
> > Take a look a this url: 
> > http://mail-archives.apache.org/mod_mbox/tomcat-dev/200802.mbox/%3C47BB0AAC.3080800@hanik.com%3E
> > 
> > Second question: how can i search in the archives tomcat list with a filter ?
> 
> http://tomcat.markmail.org/
> 
> Mark
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

Re: Cookie handling issue

Posted by Mark Thomas <ma...@apache.org>.
mateo-jl wrote:
> Hello,
> 
> I've seen that there was a problem with the encoding base64 within the cookies (only at reading : request.getCookies) 
> When the cookie contains '=' (equals), it seems that the decoding operation stops when it encounters this char.
> The prob. only happens since Tomcat 5.5.26 ans above.
> Is there any correction ?

Some fixes in 5.5.27 - complete fix hopefully in 5.5.28. Alternatively:
- use v1 cookies
- use 6.0.19 (assuming it gets released as stable)

> Take a look a this url: 
> http://mail-archives.apache.org/mod_mbox/tomcat-dev/200802.mbox/%3C47BB0AAC.3080800@hanik.com%3E
> 
> Second question: how can i search in the archives tomcat list with a filter ?

http://tomcat.markmail.org/

Mark


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