#32760: Host value misinterpreted locally
--------------------------------------------+------------------------
               Reporter:  fargusplumdoodle  |          Owner:  nobody
                   Type:  Bug               |         Status:  new
              Component:  HTTP handling     |        Version:  3.2
               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                 |
--------------------------------------------+------------------------
 The value of {{{request.META["SERVER_NAME"]}}} does not match the host
 that the request was made to.

 When I add a host to my {{{/etc/hosts}}} file and make a request to it.

 When the host is {{{localhost}}}, I am seeing that
 {{{request.META["SERVER_NAME"]}}} is coming out as {{{3cdd0c05c30d}}}.

 This issue does not appear to be happening in production for the company
 that I work for.  I am currently running Django inside of Docker Compose.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32760>
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/059.97ea67124f7718ed59b244559aed280e%40djangoproject.com.

Reply via email to