]> granicus.if.org Git - python/commit
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 31 Jul 2016 06:39:06 +0000 (23:39 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 31 Jul 2016 06:39:06 +0000 (23:39 -0700)
commit17742f2d45c9dd7ca777e33601a26e80576fdbf6
treef83a9638dd08398dd1c93e4941a794a836b67f8c
parent3a32bdfaa7494bfc172b04bdb1c8159978af8d42
parent436fe5a447abb69e5e5a4f453325c422af02dcaa
[merge from 3.4] - Prevent HTTPoxy attack (CVE-2016-1000110)

Ignore the HTTP_PROXY variable when REQUEST_METHOD environment is set, which
indicates that the script is in CGI mode.

Issue #27568 Reported and patch contributed by RĂ©mi Rampin.
Doc/howto/urllib2.rst
Doc/library/urllib.request.rst
Lib/test/test_urllib.py
Lib/urllib/request.py
Misc/NEWS