Basic host validation performed even when DEBUG=True
|Reported by:||Will Hardy||Owned by:||nobody|
|Cc:||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
DEBUG=True host validation may fail if eg the hostname contains an invalid character (like
_). The debug 500 page is not shown, making the cause of the problem difficult to find.
Even if developers are expected to keep their development hostnames clean and valid, a better debug message would be more useful.
Change History (6)
comment:5 Changed 4 years ago by
|Triage Stage:||Accepted → Ready for checkin|