diff options
author | Matěj Cepl <mcepl@cepl.eu> | 2020-03-19 01:35:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 01:35:44 (GMT) |
commit | e176e0c105786e9f476758eb5438c57223b65e7f (patch) | |
tree | 7fd7ffc7f2540b61f8d38fe3763321f647c314ad /Lib/HTMLParser.py | |
parent | 249706c1fbce04125d81bd9993e6c010ae30f8e4 (diff) | |
download | cpython-e176e0c105786e9f476758eb5438c57223b65e7f.zip cpython-e176e0c105786e9f476758eb5438c57223b65e7f.tar.gz cpython-e176e0c105786e9f476758eb5438c57223b65e7f.tar.bz2 |
[2.7] closes bpo-38576: Disallow control characters in hostnames in http.client. (GH-19052)
Add host validation for control characters for more
CVE-2019-18348 protection.
(cherry picked from commit 83fc70159b24)
Co-authored-by: Ashwin Ramaswami <aramaswamis@gmail.com>
Diffstat (limited to 'Lib/HTMLParser.py')
0 files changed, 0 insertions, 0 deletions