You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Rajat Gupta05 <Ra...@infosys.com> on 2009/12/03 05:40:45 UTC

Quotes appended cookie generated in Tomcat 6.0

Hi,

I have recently upgraded to Tomcat 6.0.16 and I am observing a strange thing that quotes get appended to the cookie value.
Is there some configuration in Tomcat with which we can remove these quotes?

Thanks
Rajat

Re: Quotes appended cookie generated in Tomcat 6.0

Posted by Mark Thomas <ma...@apache.org>.
Rajat Gupta05 wrote:
> Hi,
> 
> I have recently upgraded to Tomcat 6.0.16 and I am observing a strange thing that quotes get appended to the cookie value.
> Is there some configuration in Tomcat with which we can remove these quotes?

Probably not. Due to some security issues with cookie handling the
parsing and generation of cookies has been made more spec compliant. I
suspect you are using a v0 cookie with invalid characters hence Tomcat
is automatically converting it to a v1 cookie and quoting it.

I could give a more precise answer if you provided the cookie headers
concerned.

Mark




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