#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:             |        Version:  4.2
  contrib.staticfiles                |       Keywords:  FORCE_SCRIPT_NAME
               Severity:  Normal     |  DEBUG STATIC_URL
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 It looks like the bug is from ancient times due to rare use of
 FORCE_SCRIPT_NAME with dev server. So the version to be fixed is unknown

 /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>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018b04f6ef95-b8f71536-e7f9-4ffa-be6e-8157aa42376c-000000%40eu-central-1.amazonses.com.

Reply via email to