1. 02 Jul, 2019 1 commit
  2. 01 Jul, 2019 1 commit
    • Ned Deily's avatar
      bpo-19960: Fix building of zlib on macOS without installed headers (GH-14257) · da7f6dbb
      Ned Deily authored
      When building 2.7 on macOS without system header files installed in
      ``/usr/include``, a few extension modules dependent on system-supplied
      third-party libraries were not being built, most notably zlib.
      This situation arose in the past when building without the Command
      Line Tools and the option to install header files in the traditional
      system locations (like /usr/include).  As of macOS 10.14, the
      header files are only available in an SDK so the problem addressed
      here affects most 2.7 builds.
      da7f6dbb
  3. 30 Jun, 2019 1 commit
  4. 28 Jun, 2019 2 commits
  5. 26 Jun, 2019 1 commit
  6. 25 Jun, 2019 1 commit
  7. 24 Jun, 2019 3 commits
  8. 23 Jun, 2019 1 commit
  9. 21 Jun, 2019 1 commit
  10. 20 Jun, 2019 1 commit
  11. 19 Jun, 2019 1 commit
  12. 18 Jun, 2019 3 commits
  13. 17 Jun, 2019 1 commit
  14. 16 Jun, 2019 1 commit
  15. 15 Jun, 2019 2 commits
  16. 11 Jun, 2019 1 commit
  17. 09 Jun, 2019 1 commit
  18. 08 Jun, 2019 1 commit
  19. 07 Jun, 2019 2 commits
  20. 05 Jun, 2019 1 commit
  21. 04 Jun, 2019 2 commits
  22. 03 Jun, 2019 1 commit
  23. 31 May, 2019 1 commit
  24. 29 May, 2019 2 commits
  25. 28 May, 2019 2 commits
  26. 24 May, 2019 1 commit
  27. 23 May, 2019 1 commit
  28. 22 May, 2019 1 commit
  29. 21 May, 2019 2 commits
    • SH's avatar
      bpo-35907, CVE-2019-9948: urllib rejects local_file:// scheme (GH-11842) · b15bde80
      SH authored
       CVE-2019-9948: Avoid file reading as disallowing the unnecessary URL scheme in urllib.urlopen().
      b15bde80
    • Victor Stinner's avatar
      bpo-30458: Disallow control chars in http URLs (GH-12755) (GH-13154) (GH-13315) · bb8071a4
      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.
      bb8071a4