• Christian Heimes's avatar
    [bpo-28414] Make all hostnames in SSL module IDN A-labels (GH-5128) · 11a1493b
    Christian Heimes yazdı
    Previously, the ssl module stored international domain names (IDNs)
    as U-labels. This is problematic for a number of reasons -- for
    example, it made it impossible for users to use a different version
    of IDNA than the one built into Python.
    
    After this change, we always convert to A-labels as soon as possible,
    and use them for all internal processing. In particular, server_hostname
    attribute is now an A-label, and on the server side there's a new
    sni_callback that receives the SNI servername as an A-label rather than
    a U-label.
    11a1493b
2017-08-06-14-43-45.bpo-28414.mzZ6vD.rst 85 Bytes