summaryrefslogtreecommitdiffstats
path: root/Python/fileutils.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-02-24 03:18:28 (GMT)
committerNathaniel J. Smith <njs@pobox.com>2018-02-24 03:18:28 (GMT)
commit1c37e277190565f0e30fc9281caae4c899ac3b50 (patch)
treeff9dc72dfddff2f1aa9b96b39fa91ff1beff7dde /Python/fileutils.c
parentf409c9988e72eff7c0378ab5578f5edecb8b1855 (diff)
downloadcpython-1c37e277190565f0e30fc9281caae4c899ac3b50.zip
cpython-1c37e277190565f0e30fc9281caae4c899ac3b50.tar.gz
cpython-1c37e277190565f0e30fc9281caae4c899ac3b50.tar.bz2
[bpo-28414] Make all hostnames in SSL module IDN A-labels (GH-5128) (GH-5843)
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. (cherry picked from commit 11a1493bc4198f1def5e572049485779cf54dc57) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions