Handling Cookies is a Minefield:

inconsistencies in the HTTP cookie specification and its implementations have caused a situation where countless websites (including Facebook, Netflix, Okta, WhatsApp, Apple, etc.) are one small mistake away from locking their users out.

https://grayduck.mn/2024/11/21/handling-cookies-is-a-minefield/

April King — Handling Cookies is a Minefield

Discrepancies in how browsers and libraries handle HTTP cookies, and the problems caused by such things.

@april I've tried. I've struggled. I've filed numerous issues. I've had very little success in trying to rectify several of the issues you list in there... 😞
@bagder @april this reminded me of http://seriot.ch/projects/parsing_json.html which is basically proof that as a community we also fail with newer standards unfortunately
Parsing JSON is a Minefield