#32578: Handle request.get_host() raising DisallowedHost in
CsrfViewMiddleware._origin_verified()
-------------------------------------+-------------------------------------
     Reporter:  Chris Jerdonek       |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  CSRF                 |                  Version:  dev
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
  CsrfViewMiddleware,DisallowedHost  |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  1                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Mariusz Felisiak):

 Replying to [comment:6 Chris Jerdonek]:
 > It might be good to fix `_get_GET_no_csrf_cookie_request()` so that the
 method is indeed set to `GET`.

 Agreed, [https://github.com/django/django/pull/14166 PR].

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32578#comment:7>
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/067.ef6c3699d7286e4bef70d64b358b70f7%40djangoproject.com.

Reply via email to