#27575: Make host validation run on all requests
--------------------------------------+------------------------------------
     Reporter:  JorisBenschop         |                    Owner:  (none)
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  HTTP handling         |                  Version:  1.10
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by Tim Graham):

 I didn't have anything specific in mind. It seems that running host
 validation before middleware isn't feasible due to the use case you
 pointed out. The other option would be to run it afterward (just in case
 no middleware already did, which I'm not sure is a likely possibility, but
 that was a concern with the optimization originally proposed here in
 `CommonMiddleware`).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/27575#comment:15>
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/071.d4002fa2d6a7a104bded6f8f277d0d6b%40djangoproject.com.

Reply via email to