This question already has an answer here:
- Why do cookie values with whitespace arrive at the client side with quotes? 4 answers
I have a application deployed on tomcat 6.0.33 that generates a cookie with forward slash(/) as one of the characters in cookie value. Now for some reason tomcat is enclosing the cookie value in double quotes whenever there is forward slash present. How can I change tomcat behavior to avoid putting double quotes whenever forward slash is present in my cookie value?
N.B. I do not agree with BaluC that this is a duplicate question. I did check the other one before I posted this one. I have specifically asked in this question as to how to change tomcat behavior to remove quotes. This is totally different from the other questions where the questioner is wondering why double quotes are introduced in the first place.