Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-20504 : fix issue in cgi.py when a multipart/form-data request has no content-length #10634

Closed
wants to merge 68 commits into from
Closed

Commits on Jun 9, 2017

  1. Copy the full SHA
    c9b880a View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream2/master'

    # Conflicts:
    #	Misc/NEWS
    Pierre Quentel committed Jun 9, 2017
    Copy the full SHA
    481f69e View commit details
    Browse the repository at this point in the history
  3. Implementation change : if original file is big, store zipped content…

    … on disk
    Pierre Quentel committed Jun 9, 2017
    Copy the full SHA
    5a3693e View commit details
    Browse the repository at this point in the history
  4. Resolve conflict

    Pierre Quentel committed Jun 9, 2017
    Copy the full SHA
    bed3047 View commit details
    Browse the repository at this point in the history

Commits on Jun 10, 2017

  1. resolve conflict in NEWS

    Pierre Quentel committed Jun 10, 2017
    Copy the full SHA
    d82b7cd View commit details
    Browse the repository at this point in the history
  2. For gzipped content on disk, set file pointer at position 0.

    Pierre Quentel committed Jun 10, 2017
    Copy the full SHA
    e9deb89 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2017

  1. Copy the full SHA
    39da21b View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2017

  1. Merge remote-tracking branch 'upstream2/master'

    # Conflicts:
    #	Misc/NEWS
    Pierre Quentel committed Jun 12, 2017
    Copy the full SHA
    f9963f0 View commit details
    Browse the repository at this point in the history
  2. resolve conflict in NEWS

    Pierre Quentel committed Jun 12, 2017
    Copy the full SHA
    ace7999 View commit details
    Browse the repository at this point in the history
  3. Fix conflicts

    Pierre Quentel committed Jun 12, 2017
    Copy the full SHA
    128f6a6 View commit details
    Browse the repository at this point in the history
  4. Add HTTP compression test for big files

    Pierre Quentel committed Jun 12, 2017
    Copy the full SHA
    586b8c3 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2017

  1. Copy the full SHA
    a61109e View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2017

  1. Copy the full SHA
    6093cae View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2017

  1. Copy the full SHA
    b27144a View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream2/master'

    # Conflicts:
    #	Misc/NEWS
    Pierre Quentel committed Jun 18, 2017
    Copy the full SHA
    3525f56 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'master' of https://github.com/PierreQuentel/cpython

    # Conflicts:
    #	Misc/NEWS
    Pierre Quentel committed Jun 18, 2017
    Copy the full SHA
    1ad8139 View commit details
    Browse the repository at this point in the history
  4. More documentation

    Pierre Quentel committed Jun 18, 2017
    Copy the full SHA
    8a916fc View commit details
    Browse the repository at this point in the history
  5. Remove trailing whitespace

    Pierre Quentel committed Jun 18, 2017
    Copy the full SHA
    6f193f9 View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2017

  1. Handle the case when storing the temporary gzip file fails, eg for la…

    …ck of memory
    Pierre Quentel committed Jun 19, 2017
    Copy the full SHA
    655f753 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2017

  1. Add comment.

    Pierre Quentel committed Jun 24, 2017
    Copy the full SHA
    2433769 View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2017

  1. Remove changes to mimetypes.py

    Pierre Quentel committed Jul 1, 2017
    Copy the full SHA
    cfdcf93 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    9d8e668 View commit details
    Browse the repository at this point in the history
  3. Remove whitespaces

    Pierre Quentel committed Jul 1, 2017
    Copy the full SHA
    b700014 View commit details
    Browse the repository at this point in the history
  4. Remove whitespaces

    Pierre Quentel committed Jul 1, 2017
    Copy the full SHA
    6a31d60 View commit details
    Browse the repository at this point in the history
  5. Remove whitespaces

    Pierre Quentel committed Jul 1, 2017
    Copy the full SHA
    9830b89 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2017

  1. Merge remote-tracking branch 'upstream2/master'

    Pierre Quentel committed Jul 25, 2017
    Copy the full SHA
    6466c93 View commit details
    Browse the repository at this point in the history
  2. Disable HTTP compression by default. Add command line option --gzip t…

    …o start the server with compression enabled. Use Chunked Transfer Encoding for big files instead of a temporary file.
    Pierre Quentel committed Jul 25, 2017
    Copy the full SHA
    89de0fe View commit details
    Browse the repository at this point in the history
  3. Remove trailing whitespace

    Pierre Quentel committed Jul 25, 2017
    Copy the full SHA
    211bf66 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2017

  1. Only apply chunk transfer for HTTP/1.1 ; change implementation of com…

    …pression for HTTP/1.0 ; use http.cookiejar to parse Accept-Encoding header ; fix bug with chunk length (conversion to hex) ; support x-gzip besides gzip ; handle Python builds without zlib / gzip.
    Pierre Quentel committed Jul 27, 2017
    Copy the full SHA
    a7f1f47 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2017

  1. Simplify code for HTTP compression

    Pierre Quentel committed Jul 28, 2017
    Copy the full SHA
    79cec36 View commit details
    Browse the repository at this point in the history
  2. Add tests on presence of Transfer-Encoding header

    Pierre Quentel committed Jul 28, 2017
    Copy the full SHA
    83f6082 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'upstream2/master'

    Pierre Quentel committed Jul 28, 2017
    Copy the full SHA
    329d5f8 View commit details
    Browse the repository at this point in the history
  4. Add entry in NEWS.d

    Pierre Quentel committed Jul 28, 2017
    Copy the full SHA
    2ca373f View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'upstream2/master'

    Pierre Quentel committed Jul 28, 2017
    Copy the full SHA
    8fbc454 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2017

  1. Merge remote-tracking branch 'upstream2/master'

    Pierre Quentel committed Aug 2, 2017
    Copy the full SHA
    e51cb95 View commit details
    Browse the repository at this point in the history
  2. Remove variable has_gzip, set gzip to None in case of ImportError. Us…

    …e an f-string in chunk encoding.
    Pierre Quentel committed Aug 2, 2017
    Copy the full SHA
    cfb599d View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2017

  1. Merge remote-tracking branch 'upstream2/master'

    Pierre Quentel committed Aug 13, 2017
    Copy the full SHA
    92a47f7 View commit details
    Browse the repository at this point in the history
  2. By default, "deflate" is supported besides "gzip" ; other compression…

    … encodings can be added by extending attribute "compressions" of SimpleHTTPRequestHandler. Add tests and documentation.
    Pierre Quentel committed Aug 13, 2017
    Copy the full SHA
    75b78a1 View commit details
    Browse the repository at this point in the history
  3. Add test for user-defined compression (bzip2).

    Pierre Quentel committed Aug 13, 2017
    Copy the full SHA
    5db66e0 View commit details
    Browse the repository at this point in the history
  4. Remove trailing whitespace.

    Pierre Quentel committed Aug 13, 2017
    Copy the full SHA
    059a745 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2017

  1. Merge remote-tracking branch 'upstream2/master'

    # Conflicts:
    #	Misc/NEWS
    Pierre Quentel committed Sep 13, 2017
    Copy the full SHA
    c099836 View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2017

  1. Update http.server documentation

    Pierre Quentel committed Sep 15, 2017
    Copy the full SHA
    396866d View commit details
    Browse the repository at this point in the history
  2. Merge remote-tracking branch 'upstream2/master'

    # Conflicts:
    #	Lib/http/server.py
    Pierre Quentel committed Sep 15, 2017
    Copy the full SHA
    553c920 View commit details
    Browse the repository at this point in the history
  3. Resolve conflict

    Pierre Quentel committed Sep 15, 2017
    Copy the full SHA
    9fdecb1 View commit details
    Browse the repository at this point in the history
  4. Restore Lib/test/bisect.py

    Pierre Quentel committed Sep 15, 2017
    Copy the full SHA
    f0293fc View commit details
    Browse the repository at this point in the history
  5. Remove Misc/NEWS

    Pierre Quentel committed Sep 15, 2017
    Copy the full SHA
    fc2d9ca View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2017

  1. Remove unused import (tempfile)

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    baf88e4 View commit details
    Browse the repository at this point in the history
  2. Replace "as argument" by "as an argument"

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    2bce4ef View commit details
    Browse the repository at this point in the history
  3. Remove unused import (gzip)

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    1bdbb3a View commit details
    Browse the repository at this point in the history
  4. If zlib is not available, set SimpleHTTPRequestHandler.compressions t…

    …o {}, but allow compression in case a subclass extends it.
    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    27d02bd View commit details
    Browse the repository at this point in the history
  5. Replace sorted(...)[-1] by max(...)

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    ca68881 View commit details
    Browse the repository at this point in the history
  6. For shutil.rmtree, instead of a try/except, set argument ignore_error…

    …s=True
    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    d6157d4 View commit details
    Browse the repository at this point in the history
  7. Replace assertTrue(a in b) by assertIn(a, b) and assertFalse(a in b) …

    …by assertNotIn(a, b)
    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    a456fe6 View commit details
    Browse the repository at this point in the history
  8. Remove default_request_version

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    50f0a85 View commit details
    Browse the repository at this point in the history
  9. Merge remote-tracking branch 'upstream2/master'

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    87a2cc3 View commit details
    Browse the repository at this point in the history
  10. Restore Lib/test/bisect.py

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    b9f9599 View commit details
    Browse the repository at this point in the history
  11. Compressed data generators may send empty bytes ; adapt do_GET() for …

    …Chunked Transfer
    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    7881e1f View commit details
    Browse the repository at this point in the history
  12. Remove trace

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    2332d91 View commit details
    Browse the repository at this point in the history
  13. If Accept-Encoding is set to *, use one of the supported compressions…

    … (if any) at random.
    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    70f4738 View commit details
    Browse the repository at this point in the history
  14. Minor changes in comments and code formatting.

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    d44c8bf View commit details
    Browse the repository at this point in the history
  15. Adapt test with Accept-Encoding set to "*"

    Pierre Quentel committed Oct 1, 2017
    Copy the full SHA
    d844ca6 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2017

  1. Merge remote-tracking branch 'upstream2/master'

    Pierre Quentel committed Oct 11, 2017
    Copy the full SHA
    634f572 View commit details
    Browse the repository at this point in the history
  2. Handle missing zlib or bz2 modules

    Pierre Quentel committed Oct 11, 2017
    Copy the full SHA
    7cfa86e View commit details
    Browse the repository at this point in the history
  3. Replace command line option "--gzip" by "--compressed"

    Pierre Quentel committed Oct 11, 2017
    Copy the full SHA
    829b992 View commit details
    Browse the repository at this point in the history
  4. Improve documentation for attribute "compressions" ; replace command …

    …line option "gzip" by "compressed"
    Pierre Quentel committed Oct 11, 2017
    Copy the full SHA
    383ee33 View commit details
    Browse the repository at this point in the history

Commits on Apr 16, 2018

  1. Copy the full SHA
    9d04caa View commit details
    Browse the repository at this point in the history

Commits on Jul 30, 2018

  1. Copy the full SHA
    71e9090 View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2018

  1. bpo-20504: bug in cgi.py when a multipart/form-data request has no co…

    …ntent-length
    Pierre Quentel committed Nov 21, 2018
    Copy the full SHA
    d71b3f4 View commit details
    Browse the repository at this point in the history