#29606: Validate the type of ALLOWED_HOSTS
--------------------------------------+------------------------------------
Reporter: rafis | Owner: nobody
Type: New feature | Status: new
Component: Core (System checks) | Version: master
Severity: Normal | Resolution:
Keywords: allowed_hosts | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Changes (by Adam (Chainz) Johnson):
* cc: Adam (Chainz) Johnson (added)
Comment:
Although it may or may not have helped, I believe in general we should
check as much configuration as possible up front. Another error I myself
have made with ALLOWED_HOSTS is trying "*.example.com" instead of
".example.com" (confusion with "*" being an allowed value) - this (or in
general valid/invalid characters?) could also be checked for.
--
Ticket URL: <https://code.djangoproject.com/ticket/29606#comment:2>
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/063.ed7a1b7910ef79fc2a5a87129db0ea88%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.