diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2018-02-24 06:06:46 -0800 |
---|---|---|
committer | Christian Heimes <christian@python.org> | 2018-02-24 15:06:46 +0100 |
commit | 46632f4d3c1f3aef875d2ada750a298ab0510992 (patch) | |
tree | 4b14643a096a98b25f599f6f5ff7835de003ea9c /Misc | |
parent | 1c37e277190565f0e30fc9281caae4c899ac3b50 (diff) | |
download | cpython-git-46632f4d3c1f3aef875d2ada750a298ab0510992.tar.gz |
[3.7] bpo-32819: Simplify and improve ssl.match_hostname (GH-5620) (#5847)
ssl.match_hostname() has been simplified and no longer depends on re and
ipaddress module for wildcard and IP addresses. Error reporting for invalid
wildcards has been improved.
Signed-off-by: Christian Heimes <christian@python.org>
(cherry picked from commit aef1283ba428e33397d87cee3c54a5110861552d)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2018-02-11-15-54-41.bpo-32819.ZTRX2Q.rst | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-02-11-15-54-41.bpo-32819.ZTRX2Q.rst b/Misc/NEWS.d/next/Library/2018-02-11-15-54-41.bpo-32819.ZTRX2Q.rst new file mode 100644 index 0000000000..7d57bf6978 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2018-02-11-15-54-41.bpo-32819.ZTRX2Q.rst @@ -0,0 +1,3 @@ +ssl.match_hostname() has been simplified and no longer depends on re and +ipaddress module for wildcard and IP addresses. Error reporting for invalid +wildcards has been improved. |