Bug 45191 - Cookie.getValue() returns wrong value
Summary: Cookie.getValue() returns wrong value
Alias: None
Product: Tomcat 6
Classification: Unclassified
Component: Catalina (show other bugs)
Version: 6.0.16
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: default
Assignee: Tomcat Developers Mailing List
Depends on:
Reported: 2008-06-12 04:48 UTC by Philip S
Modified: 2008-06-13 08:15 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Philip S 2008-06-12 04:48:36 UTC
When a Cookie contains a padded (with '=' characters) Base64 encoded value the Cookie returns the value minus the '=' characters.
Comment 1 Mark Thomas 2008-06-12 05:24:44 UTC

*** This bug has been marked as a duplicate of bug 44679 ***
Comment 2 Philip S 2008-06-12 06:12:01 UTC
NOT a DUPLICATE of bug 44679
Comment 3 Filip Hanik 2008-06-13 08:15:25 UTC
= is not a valid character in v0 cookies, both the HTTP and the servlet spec say so.