ring icon indicating copy to clipboard operation
ring copied to clipboard

Use three-letter timezones from rfc822 in cookies

Open kipz opened this issue 7 years ago • 3 comments

Although the various specs prefer [1] numeric timezones allowed by rfc822 [2] for the cookie expires field, some browsers discard cookies with dates in this format (latest chrome and safari at the time of writing). Firefox does seem to respect this aspect of the specs.

I don't currently have any other supporting evidence, except that @neilprosser I have tried this on Linux with Chrome, Chromium and Firefox, and on OSx with Safari, Chrome and Firefox.

[1] https://tools.ietf.org/html/rfc1123#section-5.2.14 [2] https://tools.ietf.org/html/rfc822#section-5.1

Kudos to @neilprosser for spotting this!

kipz avatar Sep 20 '18 17:09 kipz

Thanks, I've added this to the list. If you find any supporting evidence between now and when I investigate, please add it to the thread.

weavejester avatar Sep 25 '18 20:09 weavejester

Nice to

youholemy avatar Apr 16 '21 12:04 youholemy

Nice

youholemy avatar Apr 16 '21 12:04 youholemy