cpython/Lib/http
Miro Hrončok 7e200e0763 bpo-30458: Disallow control chars in http URLs. (GH-12755) (GH-13154)
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)

Backport Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
2019-05-07 11:28:47 -04:00
..
__init__.py bpo-30553: Add status code 421 to http.HTTPStatus (GH-2589) 2017-10-26 21:49:19 +03:00
client.py bpo-30458: Disallow control chars in http URLs. (GH-12755) (GH-13154) 2019-05-07 11:28:47 -04:00
cookiejar.py bpo-35647: Fix path check in cookiejar (GH-11436) 2019-03-10 10:30:35 -07:00
cookies.py bpo-991266: Fix quoting of Comment attribute of SimpleCookie (GH-6555) 2018-04-23 03:58:23 +03:00
server.py bpo-33663: Convert content length to string before putting to header (GH-7754) 2018-06-18 14:37:56 -07:00