""" IDNA domains validation is a mess, anyway, it's going forward, and IDNA2008 refines IDNA2003 proposal to better define what is a valid IDN domain and what is not.
Currently, on URLValidator, EmailValidator ([https://code.djangoproject.com/ticket/18119 and soon DomainNameValidator ?]), Django relies on Python builtin `str.encode('idna')`.
I don't come with a solution for Django, and I know that Django avoid to depend on 3rd-party libs.
However I do think that it would be a good thing that Django validates domains against IDNA2008.
What do you think? """
Raphael Michel
unread,
Sep 2, 2015, 5:51:27 PM9/2/15
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Sign in to report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tim Graham, Django developers (Contributions to Django itself)
Hi,
Am Wed, 2 Sep 2015 14:35:22 -0700 (PDT)
schrieb Tim Graham <timog...@gmail.com>:
If I do not miss something, this is a "bug" in Python and not in Django.
However, I believe it could be good idea to have the 3rd-party idna
package as an optional dependency that Django makes use of if present
but works completely without it.