#32578: Handle request.get_host() raising DisallowedHost in CsrfViewMiddleware._origin_verified() -------------------------------------+------------------------------------- Reporter: Chris Jerdonek | Owner: Chris | Jerdonek Type: Bug | Status: closed Component: CSRF | Version: dev Severity: Normal | Resolution: fixed Keywords: | Triage Stage: Accepted CsrfViewMiddleware,DisallowedHost | Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 1 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Mariusz Felisiak <felisiak.mariusz@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"ff514309e178e3955012050ead9b8fc66dc21a5b" ff514309]: {{{ #!CommitTicketReference repository="" revision="ff514309e178e3955012050ead9b8fc66dc21a5b" Fixed #32578 -- Fixed crash in CsrfViewMiddleware when a request with Origin header has an invalid host. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/32578#comment:10> 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/067.f254baac50ece2addf6a9827b4d5eddb%40djangoproject.com.