#32537: RequestSite and IDN
----------------------------------+--------------------------------------
     Reporter:  François Poulain  |                    Owner:  nobody
         Type:  New feature       |                   Status:  closed
    Component:  contrib.sites     |                  Version:  3.1
     Severity:  Normal            |               Resolution:  needsinfo
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * status:  new => closed
 * resolution:   => needsinfo
 * component:  Uncategorized => contrib.sites
 * type:  Uncategorized => New feature


Comment:

 This is a [https://docs.djangoproject.com/en/3.1/ref/contrib/sites
 /#requestsite-objects documented] behavior:

 > ''"Sets the name and domain attributes to the value of
 **get_host**()."''

 and [https://docs.djangoproject.com/en/3.1/ref/request-
 response/#django.http.HttpRequest.get_host get_host()] ''"returns the
 originating host of the request using information from the ..."''

 Decoding punycodes would be backward incompatible and it's not clear to me
 why a puncode in `name` is an issue.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32537#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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/066.12433dea59780f2e15620b5e391d7476%40djangoproject.com.

Reply via email to