#30875: Allow IDN domains
-------------------------------+--------------------------------------
Reporter: mschaffenroth | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 2.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Description changed by mschaffenroth:
Old description:
> You cannot run django with an IDN domain since the django requests are
> only validated for ascii domains.
>
> See django/http/request.py
>
> ...
> host_validation_re =
> re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9\.:]+\])(:\d+)?$")
> ...
>
> Currently when you run django on a IDN domain you get the following error
> message: "The domain name provided is not valid according to RFC
> 1034/1035."
New description:
You cannot run django with an IDN domain since the django requests are
only validated for ascii domains.
See django/http/request.py
{{{
...
host_validation_re =
re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9\.:]+\])(:\d+)?$")
...
}}}
Currently when you run django on a IDN domain you get the following error
message: "The domain name provided is not valid according to RFC
1034/1035."
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30875#comment:1>
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/071.dd60b988c30c17fd3f5f24088855b61f%40djangoproject.com.