Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use three-letter timezones from rfc822 in cookies #349

Open
wants to merge 1 commit into
base: master
from

Conversation

@kipz
Copy link

kipz commented Sep 20, 2018

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!

Chrome and Safari (at the time of writing), both seem to ignore
cookies that use numeric timezones
@weavejester
Copy link
Member

weavejester commented Sep 25, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.