]> granicus.if.org Git - python/commit
[merge from 3.3] Prevent HTTPoxy attack (CVE-2016-1000110)
authorSenthil Kumaran <senthil@uthcode.com>
Sun, 31 Jul 2016 06:34:34 +0000 (23:34 -0700)
committerSenthil Kumaran <senthil@uthcode.com>
Sun, 31 Jul 2016 06:34:34 +0000 (23:34 -0700)
commit436fe5a447abb69e5e5a4f453325c422af02dcaa
tree6087c6640f2e39e4e8bd1e7b7b6490e8e0b7f324
parentb7b5d35545d2d078e868cbda485bc4651edec4ff
parent4cbb23f8f278fd1f71dcd5968aa0b3f0b4f3bd5d
[merge from 3.3] 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