Staging
v0.5.0
https://github.com/python/cpython
Revision afe3a4975cf93c97e5d6eb8800e48f368011d37a authored by Miro Hrončok on 14 July 2019, 09:07:11 UTC, committed by larryhastings on 14 July 2019, 09:07:11 UTC
Disallow control chars in http URLs in urllib.urlopen.  This addresses a potential security problem for applications that do not sanity check their URLs where http request headers could be injected.

Disable https related urllib tests on a build without ssl (GH-13032)
These tests require an SSL enabled build. Skip these tests when python is built without SSL to fix test failures.

Use http.client.InvalidURL instead of ValueError as the new error case's exception. (GH-13044)

Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
1 parent 4655d57
History
Tip revision: afe3a4975cf93c97e5d6eb8800e48f368011d37a authored by Miro Hrončok on 14 July 2019, 09:07:11 UTC
bpo-30458: Disallow control chars in http URLs. (GH-12755) (#13207)
Tip revision: afe3a49
File Mode Size
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
.bzrignore -rw-r--r-- 582 bytes
.gitattributes -rw-r--r-- 798 bytes
.gitignore -rw-r--r-- 1.3 KB
.hgeol -rw-r--r-- 1.0 KB
.hgignore -rw-r--r-- 1.3 KB
.hgtags -rw-r--r-- 8.2 KB
.travis.yml -rw-r--r-- 4.4 KB
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 57.5 KB
README -rw-r--r-- 8.5 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.2 KB
config.sub -rwxr-xr-x 35.7 KB
configure -rwxr-xr-x 468.0 KB
configure.ac -rw-r--r-- 154.3 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 40.9 KB
setup.py -rw-r--r-- 97.8 KB

README

back to top