Kaydet (Commit) b885a5bb authored tarafından Guido van Rossum's avatar Guido van Rossum

Merge cleanup.

...@@ -977,6 +977,7 @@ class HandlerTests(unittest.TestCase): ...@@ -977,6 +977,7 @@ class HandlerTests(unittest.TestCase):
h = urllib2.HTTPRedirectHandler() h = urllib2.HTTPRedirectHandler()
o = h.parent = MockOpener() o = h.parent = MockOpener()
req = Request(from_url) req = Request(from_url)
req.timeout = socket._GLOBAL_DEFAULT_TIMEOUT
for scheme in invalid_schemes: for scheme in invalid_schemes:
invalid_url = scheme + '://' + schemeless_url invalid_url = scheme + '://' + schemeless_url
......
...@@ -16,9 +16,6 @@ Core and Builtins ...@@ -16,9 +16,6 @@ Core and Builtins
- Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when - Issue #11450: Don't truncate hg version info in Py_GetBuildInfo() when
there are many tags (e.g. when using mq). Patch by Nadeem Vawda. there are many tags (e.g. when using mq). Patch by Nadeem Vawda.
- Issue #11662: Make urllib and urllib2 ignore redirections if the
scheme is not HTTP, HTTPS or FTP (CVE-2011-1521).
- Issue #10451: memoryview objects could allow to mutate a readable buffer. - Issue #10451: memoryview objects could allow to mutate a readable buffer.
Initial patch by Ross Lagerwall. Initial patch by Ross Lagerwall.
...@@ -50,6 +47,9 @@ Core and Builtins ...@@ -50,6 +47,9 @@ Core and Builtins
Library Library
------- -------
- Issue #11662: Make urllib and urllib2 ignore redirections if the
scheme is not HTTP, HTTPS or FTP (CVE-2011-1521).
- Issue #11256: Fix inspect.getcallargs on functions that take only keyword - Issue #11256: Fix inspect.getcallargs on functions that take only keyword
arguments. arguments.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment