#34892: Static files aren't served correctly on dev server when DEBUG and
FORCE_SCRIPT_NAME are enabled
-------------------------------------+-------------------------------------
Reporter: EugeneM | Owner: nobody
Type: Bug | Status: new
Component: contrib.staticfiles | Version: 4.2
Severity: Normal | Resolution:
Keywords: FORCE_SCRIPT_NAME | Triage Stage:
DEBUG STATIC_URL | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by EugeneM:
Old description:
New description:
/contrib/staticfiles/handlers.py
{{{
def serve(self, request):
"""Serve the request path."""
-- return serve(request, self.file_path(request.path),
insecure=True)
++ return serve(request, self.file_path(request.path_info),
insecure=True)
}}}
--
--
Ticket URL: <https://code.djangoproject.com/ticket/34892#comment:6>
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/0107018b0a837cc7-0af0cc5e-ef3b-4f62-b01f-eb9c0156c3f2-000000%40eu-central-1.amazonses.com.