toddmath / firecookie

Automatically exported from code.google.com/p/firecookie
1 stars 0 forks source link

Cookie value encoding #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
When editing/creating a cookie with characters "=" or "&" within its value, 
this value is encoded (into %3D and %26, respectively), which I think 
Firecookie should not do.

What steps will reproduce the problem?
======================================
1. For example, open edit window for a cookie with original value of 
"id=25212ebee2183e87a131312077200490:lv=1317387071217:ss=131738707121"
2. Just leave the value as is and Save it
3. The value's raw data now becomes 
"id%3D25212ebee2183e87a131312077200490%3Alv%3D1317387071217%3Ass%3D1317387071217
"

What is the expected output? What do you see instead?
=====================================================
Cookie value containing characters like "=", ":" or "&" should be sent as is, 
as encoding would cause much trouble at server-side processing.

Original issue reported on code.google.com by ruaster on 1 Oct 2011 at 4:18

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by sebastia...@gmail.com on 12 Jun 2012 at 8:39