Staging
v0.5.1
https://github.com/python/cpython
Revision 09d8172837b6985c4ad90ee025f6b5a554a9f0ac authored by Tapas Kundu on 20 June 2020, 06:43:50 UTC, committed by GitHub on 20 June 2020, 06:43:50 UTC
Add host validation for control characters for more
CVE-2019-18348 protection.
(cherry picked from commit 83fc70159b24)
1 parent 37fe316
Raw File
Tip revision: 09d8172837b6985c4ad90ee025f6b5a554a9f0ac authored by Tapas Kundu on 20 June 2020, 06:43:50 UTC
[3.5] closes bpo-38576: Disallow control characters in hostnames in http.client. (#19300)
Tip revision: 09d8172
.gitattributes
# Binary data types
*.aif binary
*.aifc binary
*.aiff binary
*.au binary
*.bmp binary
*.exe binary
*.icns binary
*.gif binary
*.ico binary
*.jpg binary
*.pck binary
*.png binary
*.psd binary
*.tar binary
*.wav binary
*.whl binary
*.zip binary

# Specific binary files
Lib/test/sndhdrdata/sndhdr.* binary

# Text files that should not be subject to eol conversion
Lib/test/cjkencodings/* -text
Lib/test/decimaltestdata/*.decTest -text
Lib/test/test_email/data/*.txt -text
Lib/test/xmltestdata/* -text
Lib/test/coding20731.py -text

# Special files in third party code
Modules/zlib/zlib.map -text

# CRLF files
*.bat text eol=crlf
*.ps1 text eol=crlf
*.sln text eol=crlf
*.vcxproj* text eol=crlf
*.props text eol=crlf
*.proj text eol=crlf
PCbuild/readme.txt text eol=crlf
PC/readme.txt text eol=crlf
back to top