Archive for the 'Java' Category

Banned Characters in Cookies in Tomcat

Wednesday, January 28th, 2009

I was recently asked to look into why we had a problem with “[]” (square brackets) that were being passed to us as part of an affiliate id, eg: “SF_1234_[345]“.
It seems we were saving the value to a cookie. This works fine if you check the cookie values in the browser. However, when we tried [...]

Byting the hand that feeds you…