#29752: Add new ALLOWED_HOSTS_EXEMPT setting
-----------------------------------------+------------------------
Reporter: Jonas Haag | Owner: nobody
Type: New feature | Status: new
Component: HTTP handling | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 1
UI/UX: 0 |
-----------------------------------------+------------------------
This patch adds a new ALLOWED_HOSTS_EXEMPT setting to exclude some URLs
from Host header validation.
This can become handy if you can't control the Host header sent to your
application but still want to accept the request. An example of this is
health checks made by AWS ECS/Fargate – google "django allowed_hosts aws"
and find 16,000 results with tips how to work around the problem.
--
Ticket URL: <https://code.djangoproject.com/ticket/29752>
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/052.51d47365dcb70a93f5505e0bc35afe04%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.