#std lib cookies behavior around double quoted values

10 messages · Page 1 of 1 (latest)

ripe quail
sturdy ridge
#

I would open an issue on deno/std repo ¯_(ツ)_/¯

ripe quail
#

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

sturdy ridge
#

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