Bug 46177 - Cookie Values are cut off
Summary: Cookie Values are cut off
Status: RESOLVED DUPLICATE of bug 44679
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Unknown (show other bugs)
Version: 5.5.27
Hardware: PC Windows Vista
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-10 07:24 UTC by Mark De Vries
Modified: 2010-05-05 12:13 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark De Vries 2008-11-10 07:24:16 UTC
Hello,

I have the following Problem:

I set a Cookie with a value such as (without the quotes):
"USERID=mark.devries@rtfm.net|SESSIONID=0B626AB7E5DA538D12BE296F90126BED|EXPIRES=1226326772293|KEY=key1|HASH=vXGIbxWxumu+9caKlGxdaA=="
This is the cookies value only.

Setting and reading of this cookie works fine on Tomcat 5.5.25 and 6.0.18.

If i use Tomcat 5.5.26 or 5.5.27 the Cookies value is cut off after the first "=" character, so all my application receives is (without the quotes)
"USERID"

What confuses me is: if it only worked due to a Bug in 5.5.25 then why would it work in 6.0.18 again which afaik has the same Bugs fixed which were fixed in the version Jump from 5.5.25 to 5.5.26 .

Is this a Bug or am i trying to do something which isn't allowed due to security constraints.

Best Regards
Comment 1 Mark Thomas 2008-11-10 07:34:25 UTC
This is a question for the users list - or just search the archives.
Comment 2 Konstantin Kolinko 2010-05-05 12:13:08 UTC
Since 6.0.24 there is a configuration option, that allows '=' in the cookie
value. See
http://tomcat.apache.org/tomcat-6.0-doc/config/systemprops.html

*** This bug has been marked as a duplicate of bug 44679 ***