This is a kind of continuation. Why my cookies containing JSON are sometimes distorted , which we allowed.
I have a 3 digit cookie and we encode the URL of the primary value. The other two values are timestamp and hash. This is similar to our response header:
Foo = d = 634027688530013385 & v =% 7b% 22HasDog% 22% 3afalse% 2c% 22Greeting% 22% 3anull% 2c% 22RecentRecipes% 22% 3a% 5b% 5d% 2c% 22Remember% 22% 3afalse% 7d & h = ARv5QGf4CnftCoyft / VH8Pbo =; Path = /; HttpOnly
In our logs, we see cases where we cannot parse the three values correctly, since the entire cookie is now encoded:
Cookie looks crippled: d% 3D634027653097874122% 26v% 3D% 7B% 22HasAcceptedTerms% 22% 3Afalse% 2C% 22RecipeBoxCount% 22% 3A0% 2C% 22Remember% 22% 3Afalse% 7D% 26h% 3DR85mJ% 2FTd5VV 3D
Unfortunately, we are not collecting a user agent to find out if this is related to a specific browser.
I have several options to fix this. I just think the behavior is strange enough to ask a question.
source
share