#std lib cookies behavior around double quoted values
10 messages · Page 1 of 1 (latest)
I would open an issue on deno/std repo ¯_(ツ)_/¯
I'm not sure what behavior is desirable. Out of silly idleness I checked out various cookie libraries from different ecosystems, and I found inconsistency.
I also found that browsers do surprising things with cookies.
From a brief reading of the http 1.1 spec I kind of feel that the double quotes should be removed during reading of the cookie string
the http specification is rather unclear about how to deal with a lot of things regarding cookies. I remember having a link to a github issue with probably hundreds of replies on a popular cookie library about how to deal with certain edgecases.
found it while looking through my obsidian sync history
worth a read if you have free time
I think they even bring in the author of the spec at some point