An extreme kludge is to create a Filter which creates a HttpServletRequestWrapper which overrides getCookies() with a custom implementation.

That custom implementation would read the headers, find the cookies and perform its own parsing mechanism to read the cookies.

-Tim

Mark Thomas wrote:
Stephen More wrote:
I see in version 5.5.26 there are "Cookie handling/parsing changes!"

5.5.25 and prior I was able to read cookie values that included colons:
   cookie-name: lastaccess cookie-value: 10/30/2008%2010:41:00%20AM

5.5.26 and after:
   cookie-name: lastaccess cookie-value: 10/30/2008%2010


Other threads are suggesting setVersion(1) when creating the cookie.
The problem is that I am not creating this cookie. It is being created
on a different system and I just need to read it.

How can I read this "3rd party" cookie-value in tomcat 5.5.26 and greater ?

Get the bug fixed in the system that is generating invalid cookie values?


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to