#28690: django.utils.http.parse_http_date two digit year check is incorrect
-----------------------------+----------------------------------------
Reporter: Mads Jensen | Owner: Ad Timmering
Type: Bug | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-----------------------------+----------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"556d0c08bded4cdeaedd513c4c73dbf05fd8650e" 556d0c0]:
{{{
#!CommitTicketReference repository=""
revision="556d0c08bded4cdeaedd513c4c73dbf05fd8650e"
[3.0.x] Fixed #28690 -- Fixed handling of two-digit years in
parse_http_date().
Due to RFC7231 ayear that appears to be more than 50 years in the
future are interpreted as representing the past.
Backport of 7b5f8acb9e6395a1660dd7bfeb365866ca8ef47c from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/28690#comment:28>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/068.51c35d2ab2bc4c14d40a5efb2470202b%40djangoproject.com.