Opened 7 years ago
Last modified 6 years ago
#28965 closed Cleanup/optimization
Wrong format for cookie 'expires' — at Initial Version
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
For some reason Django set expires for cookies with slashes in date.
Seems it was first introduced in 390666ac2bf8223bede4f78a97836051bc9f9526 to fix #508
The proper format is UTC string (RFC-1123)
Note:
See TracTickets
for help on using tickets.