#31768: `django.http.request` `validate_domains` - should be optional "Invalid
HTTP_HOST header"
------------------------------------------------+------------------------
Reporter: Mateusz Kurowski | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: HTTP handling | Version: 3.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
https://github.com/django/django/blob/master/django/http/request.py#L129
Working with this, i cannot simply use docker host resolution because my
host is invalid:
Invalid HTTP_HOST header: 'my_service:8000'. The domain name provided is
not valid according to RFC 1034/1035.
This is really annoying as Django and any other project should !!never
ever!! force us to check thing that may be irrevelant for the user! Doing
this is the first cause of wasting time and workarounds for simple
problems - !! assuming that code knows better what the human needs is
wrong !!.
Just saying loudly what i think, no offense.
Can we work on this problem?
--
Ticket URL: <https://code.djangoproject.com/ticket/31768>
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 on the web visit
https://groups.google.com/d/msgid/django-updates/049.3151e7519e56f5e9747137c92936d4e2%40djangoproject.com.