﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
32537	RequestSite and IDN	François Poulain	nobody	"Without using django.contrib.sites, get_current_site reply a RequestSite instance defining name and domain.

On a IDN setup, we are currently getting Punicode in the name due to the init sequence:
{{{
      def __init__(self, request):                                                
          self.domain = self.name = request.get_host() 
}}}
IMHO a punicode version of the domain in not what I expect in the {{{name}}} attribute. 

I suggest that if the domains starts with {{{xn--}}} it should be tried to set the name by decoding the domain from idna.

How do you think about it? (I may provide patch if you agree on the behavior)"	Uncategorized	new	Uncategorized	3.1	Normal				Unreviewed	0	0	0	0	0	0
