#36013: Inconsistent handling of IDNs in urlize and AdminURLFieldWidget
-------------------------------------+-------------------------------------
     Reporter:  Mike Edmunds         |                    Owner:  Mike
                                     |  Edmunds
         Type:  Bug                  |                   Status:  closed
    Component:  Utilities            |                  Version:  dev
     Severity:  Normal               |               Resolution:  fixed
     Keywords:  idna                 |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"698d05c11c27d4ed5fd75194ac0edcf133bd7600" 698d05c1]:
 {{{#!CommitTicketReference repository=""
 revision="698d05c11c27d4ed5fd75194ac0edcf133bd7600"
 [5.2.x] Fixed #36013 -- Removed use of IDNA-2003 in django.utils.html.

 Removed obsolete and potentially problematic IDNA 2003 ("punycode")
 encoding of international domain names in smart_urlquote() and Urlizer,
 which are used (only) by AdminURLFieldWidget and the urlize/urlizetrunc
 template filters. Changed to use percent-encoded UTF-8, which defers
 IDNA details to the browser (like other URLs rendered by Django).

 Backport of 29ba75e6e57414f0e6f9528d08a520b8b931fb28 from main.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36013#comment:4>
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 visit 
https://groups.google.com/d/msgid/django-updates/01070194928ace93-e8a00f16-86b0-443f-9874-7739c3121a2b-000000%40eu-central-1.amazonses.com.

Reply via email to