--
Ticket URL: <https://code.djangoproject.com/ticket/33571>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Comment:
Pull Request: https://github.com/django/django/pull/15498
--
Ticket URL: <https://code.djangoproject.com/ticket/33571#comment:1>
* owner: nobody => Collin Anderson
* status: new => assigned
* stage: Unreviewed => Accepted
Comment:
Thanks for the report.
Regression in d6aff369ad33457ae2355b5b210faf1c4890ff35.
--
Ticket URL: <https://code.djangoproject.com/ticket/33571#comment:2>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"71017a68a6e86b501592e7daf68be3ef4c4c28f2" 71017a68]:
{{{
#!CommitTicketReference repository=""
revision="71017a68a6e86b501592e7daf68be3ef4c4c28f2"
Fixed #33571 -- Fixed static serving views crash when If-Modified-Since is
empty.
Regression in d6aff369ad33457ae2355b5b210faf1c4890ff35.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33571#comment:3>
Comment (by Collin Anderson):
I guess this has been broken since 3.1. Any chance this could be
backported? At least to 4.0? (Feel free to leave in catching
`AssertionError`) I suppose it would need a release note too.
--
Ticket URL: <https://code.djangoproject.com/ticket/33571#comment:4>
Comment (by Mariusz Felisiak):
Replying to [comment:4 Collin Anderson]:
> I guess this has been broken since 3.1. Any chance this could be
backported? At least to 4.0? (Feel free to leave in catching
`AssertionError`) I suppose it would need a release note too.
This is a regression in Django 3.1 which is not supported anymore. Per our
backporting policy this means it doesn't qualify for a backport to 4.0.x
or 3.2.x anymore. See [https://docs.djangoproject.com/en/stable/internals
/release-process/ Django’s release process] for more details.
--
Ticket URL: <https://code.djangoproject.com/ticket/33571#comment:5>
Comment (by Collin Anderson):
Could it maybe be considered a "Crashing bug", because it crashes rather
than ignores a bad value? If not that's fine. I suppose most people follow
the advice in the docs and don't use `django.views.static.serve()` in
production. :)
--
Ticket URL: <https://code.djangoproject.com/ticket/33571#comment:6>