Hi,
I'm starting this discussion following ticket #33968 
<https://code.djangoproject.com/ticket/33968> recommendation in comment.
Currently the punycode 
<https://github.com/django/django/blob/e64919ae54933ef4840f0e27e51d9fcfd55ecf4b/django/utils/encoding.py#L212>
 
method is converting domain names from Unicode to ASCII using the 
deprecated IDNA 2003 standard.
As suggested in the ticket, the method should use the idna 
<https://pypi.org/project/idna/> package that is fully compliant with the 
latest IDNA 2008 standard.
Ticket comment points that adding a new dependency is problematic, however, 
in most case, someone using Django will end up with this dependency anyway 
as it is widely used. Django GeoIP2 contrib uses it for instance.
Best regards,
Julien

-- 
You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-developers+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/d4331b21-d9e8-4647-aa1f-357b00fb0125n%40googlegroups.com.
  • A... 'Julien Bernard' via Django developers (Contributions to Django itself)
    • ... 'Adam Johnson' via Django developers (Contributions to Django itself)
      • ... 'Julien Bernard' via Django developers (Contributions to Django itself)
        • ... Carlton Gibson
          • ... 'Julien Bernard' via Django developers (Contributions to Django itself)
            • ... Carlton Gibson
              • ... 'Julien Bernard' via Django developers (Contributions to Django itself)
                • ... Carlton Gibson
                • ... Carlton Gibson
                • ... 'Julien Bernard' via Django developers (Contributions to Django itself)
                • ... Carlton Gibson

Reply via email to