#36514: Improve ALLOWED_HOSTS error message: show both values
------------------------------------+--------------------------------------
     Reporter:  Klaas van Schelven  |                    Owner:  (none)
         Type:  New feature         |                   Status:  closed
    Component:  HTTP handling       |                  Version:  5.2
     Severity:  Normal              |               Resolution:  wontfix
     Keywords:                      |             Triage Stage:  Unreviewed
    Has patch:  0                   |      Needs documentation:  0
  Needs tests:  0                   |  Patch needs improvement:  0
Easy pickings:  0                   |                    UI/UX:  0
------------------------------------+--------------------------------------
Comment (by Klaas van Schelven):

 >echoing the full ALLOWED_HOSTS list in the error message

 One more thing: the linked article combines the ideas of
 [https://www.bugsink.com/blog/better-allowed-hosts/#show-the-error-on-
 screen showing the DisallowedHost message in the browser] with including
 ALLOWED_HOSTS in the output.

 Could it not be argued that the latter is OK (even in the general case)
 provided the former isn't implemented?
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36514#comment:4>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019830d60e90-c7646ae6-529a-4895-9bed-53c3ebcb14e3-000000%40eu-central-1.amazonses.com.

Reply via email to