Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: tornadoweb/tornado
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.5.7
Choose a base ref
...
head repository: tornadoweb/tornado
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.5.8
Choose a head ref
  • 8 commits
  • 11 files changed
  • 2 contributors

Commits on Aug 5, 2026

  1. httputil: Apply multipart max_parts limit earlier

    This prevents some CPU and memory amplification attacks.
    bdarnell committed Aug 5, 2026
    Configuration menu
    Copy the full SHA
    de85b3f View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2026

  1. httputil: Enforce a new limit on the number of arguments in a request

    Large POST bodies can be very expensive to parse in the worst case,
    so use the (new in Python 3.8) max_num_fields argument to limit the
    cost. A new field in ParseBodyConfig allows users to configure this
    limit. The default is 1000, which is the same as that used in php and
    node.js.
    bdarnell committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    8d6363e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    da28476 View commit details
    Browse the repository at this point in the history
  3. auth: Formally deprecated OpenIDMixin

    Cherry-picks c47659a from master to branch-6.5.
    Modified to accelerate deprecation timeline to 6.7 instead of 7.0.
    bdarnell committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    b168818 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d72fff8 View commit details
    Browse the repository at this point in the history
  5. Fix test_strip_headers_on_redirect's URL-embedded-credentials cases

    url.replace("http://", ...) replaced every occurrence of "http://" in
    the fetched URL, including the one inside the "url" query parameter
    that RedirectHandler uses as the redirect target. That accidentally
    embedded the test credentials in the Location header's URL too, so
    the "different origin" subtest was actually exercising "does libcurl
    honor credentials the server explicitly put in the redirect target"
    rather than "does libcurl strip credentials carried over from the
    original request" - libcurl correctly does the former, which is not
    a credential leak.
    
    Limit the replacement to the first occurrence so only the outer,
    fetched URL carries the test credentials.
    
    Separately, the "same origin" subtest for this case now surfaces an
    actual libcurl regression (still present in curl's git master as of
    this writing): credentials embedded in the URL are dropped across a
    same-origin redirect when the Location header is an absolute URL
    (a relative Location correctly preserves them). This isn't a security
    issue since nothing leaks to another origin, so that specific
    assertion is skipped rather than asserted either way.
    claude authored and bdarnell committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    7b01763 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2026

  1. Configuration menu
    Copy the full SHA
    fc79488 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3704 from bdarnell/security-6.5.8

    Security 6.5.8
    bdarnell authored Aug 7, 2026
    Configuration menu
    Copy the full SHA
    a55abe3 View commit details
    Browse the repository at this point in the history
Loading