#30875: Allow IDN domains
-----------------------------------------+------------------------
Reporter: mschaffenroth | Owner: nobody
Type: Bug | Status: new
Component: Uncategorized | Version: 2.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 |
-----------------------------------------+------------------------
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>
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/056.0ede8e550bdf35d212c3f4c519df0dea%40djangoproject.com.