Read an invalid cookie with Java (jsp)?

Posted by jsumners on Stack Overflow See other posts from Stack Overflow or by jsumners
Published on 2010-04-29T21:00:42Z Indexed on 2010/04/29 21:17 UTC
Read the original article Hit count: 143

Filed under:
|

I have a cookie that is formatted like partA:partB. The colon is not escaped in any fashion. I need to read this cookie in a JSP script, and request.getCookies() is only returning partA. I can't change the cookie because it is used in multiple applications, and fixing the cookie would break production code. Any ideas how I can read the full value of this cookie?

© Stack Overflow or respective owner

Related posts about java

Related posts about jsp