- 18 Jun, 2019 3 commits
-
-
Ned Deily authored
-
animalize authored
-
Alex Gaynor authored
-
- 17 Jun, 2019 1 commit
-
-
Steve Dower authored
-
- 16 Jun, 2019 1 commit
-
-
Terry Jan Reedy authored
Cherry-picked from 66d47da8.
-
- 15 Jun, 2019 2 commits
-
-
Xtreak authored
-
Xtreak authored
This is a manual backport of ca7fe506 since 2.7 has `http.cookiejar` in `cookielib` https://bugs.python.org/issue35121
-
- 11 Jun, 2019 1 commit
-
-
Victor Stinner authored
If urlparse.urlsplit() detects an invalid netloc according to NFKC normalization, the error message type is now str rather than unicode, and use repr() to format the URL, to prevent <exception str() failed> when display the error message.
-
- 09 Jun, 2019 1 commit
-
-
Dimitri John Ledkov authored
Signed-off-by: Dimitri John Ledkov <xnox@ubuntu.com> https://bugs.python.org/issue34836
-
- 08 Jun, 2019 1 commit
-
-
Eric Wieser authored
-
- 07 Jun, 2019 2 commits
-
-
Zackery Spytz authored
(cherry picked from commit dc247650) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 05 Jun, 2019 1 commit
-
-
Anthony Sottile authored
-
- 04 Jun, 2019 2 commits
-
-
Miss Islington (bot) authored
(cherry picked from commit 59e7bbca) Co-authored-by: Julien Palard <julien@palard.fr>
-
Steve Dower authored
-
- 03 Jun, 2019 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit d3371691) Co-authored-by: cclauss <cclauss@me.com>
-
- 31 May, 2019 1 commit
-
-
Miss Islington (bot) authored
* bpo-12639: msilib.Directory.start_component() fails if *keyfile* is not None (GH-13688) msilib.Directory.start_component() was passing an extra argument to CAB.gen_id(). (cherry picked from commit c8d5bf6c) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 29 May, 2019 2 commits
-
-
Hai Shi authored
Patch by Kojo Idrissa. (cherry picked from commit 1b4abcf3) Co-authored-by: Kojo Idrissa <kojoidrissa@users.noreply.github.com> https://bugs.python.org/issue33071
-
-
- 28 May, 2019 2 commits
-
-
Victor Stinner authored
Skip the test if xrange(sys.maxsize) raises an OverflowError.
-
Victor Stinner authored
Fix possible overflow in wrap_lenfunc() when sizeof(long) < sizeof(Py_ssize_t) (e.g., 64-bit Windows). (cherry picked from commit 05f16416)
-
- 24 May, 2019 1 commit
-
-
Victor Stinner authored
-
- 23 May, 2019 1 commit
-
-
Michele Angrisano authored
modified: Lib/ctypes/test/test_unicode.py modified: Misc/ACKS new file: Misc/NEWS.d/next/Library/2019-05-23-15-57-36.bpo-36713.sjPhnf.rst
-
- 22 May, 2019 1 commit
-
-
Victor Stinner authored
Test also URLopener().open(), URLopener().retrieve(), and DummyURLopener().retrieve().
-
- 21 May, 2019 2 commits
-
-
SH authored
CVE-2019-9948: Avoid file reading as disallowing the unnecessary URL scheme in urllib.urlopen().
-
Victor Stinner authored
Disallow control chars in http URLs in urllib2.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 httplib.InvalidURL instead of ValueError as the new error case's exception. (GH-13044) Backport Co-Authored-By: Miro Hrončok <miro@hroncok.cz> (cherry picked from commit 7e200e0763f5b71c199aaf98bd5588f291585619) Notes on backport to Python 2.7: * test_urllib tests urllib.urlopen() which quotes the URL and so is not vulerable to HTTP Header Injection. * Add tests to test_urllib2 on urllib2.urlopen(). * Reject non-ASCII characters: range 0x80-0xff.
-
- 20 May, 2019 2 commits
-
-
Terry Jan Reedy authored
-
Miss Islington (bot) authored
(cherry picked from commit 53d378c8) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
-
- 17 May, 2019 1 commit
-
-
Benjamin Peterson authored
TLS 1.3 has a more efficient handshake protocol. The client can reject the server's credentials and close the connection before the server has even finished writing out all of its initial data. Depending on whether the server finishes writing the rest of its handshake before the it sees the connection is reset, the server will read an empty line or see a ECONNRESET OSError. Nothing is really wrong here with the server or client, so just suppress the error output in the OSError case to fix the test. This fix isn't required in Python 3 because clients that reject the server's certificate will shut down the TLS layer before closing the TCP connection.
-
- 15 May, 2019 1 commit
-
-
Victor Stinner authored
(cherry picked from commit f0be4bbb)
-
- 13 May, 2019 2 commits
-
-
Terry Jan Reedy authored
-
Gregory P. Smith authored
[2.7] bpo-35925: Skip SSL tests that fail due to weak external certs or old TLS (GH-13124) (GH-13253) Modern Linux distros such as Debian Buster have default OpenSSL system configurations that reject connections to servers with weak certificates by default. This causes our test suite run with external networking resources enabled to skip these tests when they encounter such a failure. Fixing the network servers is a separate issue. (cherry picked from commit 2cc0223f) Changes to test_ssl.py required as 2.7 has legacy protocol tests. The test_httplib.py change is omitted from this backport as self-signed.pythontest.net's certificate was updated and the test_nntplib.py change is not applicable on 2.7. Authored-by: Gregory P. Smith greg@krypto.org
-
- 12 May, 2019 1 commit
-
-
Toshio Kuratomi authored
In Python-2.7, we were only searching for bind_textdomain_codeset in libc. We should have also checked for it in libintl. This change from Mel Flynn https://bugs.python.org/file24918/python27-configure.in.patch fixes that.
-
- 09 May, 2019 1 commit
-
-
Gregory P. Smith authored
* [2.7] bpo-36816: Update the self-signed.pythontest.net cert (GH-13192) We updated the server, our testsuite must match. https://bugs.python.org/issue36816
✈ ️ CLE -> DEN✈ ️ #pycon2019 #beyonce (cherry picked from commit 6bd81734) The 2.7 tree also needed a certificate in the capath directory updated. The filename for that was determined by `openssl x509 -in $cert.pem -subject_hash`. Authored-by: Gregory P. Smith <greg@krypto.org>
-
- 08 May, 2019 1 commit
-
-
Julien Palard authored
Patch by Mike Taylor.
-
- 02 May, 2019 2 commits
-
-
Zackery Spytz authored
(cherry picked from commit c4e78b11)
-
Miss Islington (bot) authored
(cherry picked from commit 11e4a941) Co-authored-by: Xtreak <tir.karthi@gmail.com>
-
- 01 May, 2019 1 commit
-
-
Steve Dower authored
-
- 30 Apr, 2019 1 commit
-
-
Miss Islington (bot) authored
(cherry picked from commit ee0309f3) Co-authored-by: Utkarsh Gupta <guptautkarsh2102@gmail.com>
-
- 29 Apr, 2019 1 commit
-
-
Victor Stinner authored
-