#25878: APPEND_SLASH doesn't work with DEBUG=False when template/404.html is
erroneous
---------------------------------+-------------------------------------
     Reporter:  kuna             |                    Owner:  timgraham
         Type:  Bug              |                   Status:  assigned
    Component:  HTTP handling    |                  Version:  1.9
     Severity:  Release blocker  |               Resolution:
     Keywords:  slash,debug      |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  1                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  0
---------------------------------+-------------------------------------

Comment (by timgraham):

 @tripples, @pulsedemon, do you have incorrect 404 templates? I'm not sure
 it's the same issue because in the original report, with `DEBUG=False` an
 incorrect URL will return a 500, not a 404, since the 404 template can't
 be rendered. If you could provide a sample project to reproduce, that
 would be helpful.

 After understanding the issue a bit more, I think the proposed patch
 basically reverts #24720 and the benefit it provides. Obviously correct
 behavior trumps performance, but if an invalid 404 template is the only
 way to trigger it, then maybe we can find a way to fix this without
 reverting it.

--
Ticket URL: <https://code.djangoproject.com/ticket/25878#comment:17>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/062.30bbdf122f9221eabbf5a1040dab9b1f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to