Opened 7 years ago

Last modified 6 years ago

#28965 closed Cleanup/optimization

Wrong format for cookie 'expires' — at Version 1

Reported by: Alexey Owned by: nobody
Component: Utilities Version: 2.0
Severity: Normal Keywords: cookie
Cc: Sergey Fedoseev Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description (last modified by Alexey)

For some reason Django set expires for cookies with hyphens in date (Tue, 25-Dec-2018 22:26:13 GMT).

Seems it was first introduced in 390666ac2bf8223bede4f78a97836051bc9f9526 to fix #508

The proper format is UTC string (RFC-1123): Tue, 25 Dec 2018 21:15:29 GMT

Change History (1)

comment:1 by Alexey, 7 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top