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: rack/rack
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.13
Choose a base ref
...
head repository: rack/rack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.2.14
Choose a head ref
  • 4 commits
  • 8 files changed
  • 2 contributors

Commits on May 6, 2025

  1. Merge commit from fork

    * Make Rack::Session::Pool#write_session fail if session doesn't exist
    
    This fixes a potential security issue if the session is concurrently
    deleted by another thread.
    
    * Add test.
    
    * Add CHANGELOG entry.
    
    ---------
    
    Co-authored-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
    jeremyevans and ioquatix authored May 6, 2025
    Configuration menu
    Copy the full SHA
    c48e52f View commit details
    Browse the repository at this point in the history
  2. Merge commit from fork

    * Apply bytesize and number of param limits in QueryParser
    
    The param limit is 4096, chosen because it matches the existing
    multipart limit.  The bytesize limit is 4MB.  These limits should
    substantially exceed what almost all applications need, though
    there will likely be applications that require higher limits.
    Allow overriding the limits on a per-QueryParser basis via the
    constructors, and allow overriding the default limits with
    environment variables RACK_QUERY_PARSER_BYTESIZE_LIMIT and
    RACK_QUERY_PARSER_PARAMS_LIMIT.
    
    Add new Rack::QueryParser::QueryLimitError to raise in case one
    of the limits are exceeded, and make ParamsTooDeepError an
    alias to, since that is also a case where a limit is exceeded.
    This allows code that already rescues ParamsTooDeepError to
    automatically handle these other limits as well.
    
    * Update CHANGELOG.
    
    ---------
    
    Co-authored-by: Samuel Williams <samuel.williams@oriontransfer.co.nz>
    jeremyevans and ioquatix committed May 6, 2025
    Configuration menu
    Copy the full SHA
    3f5a424 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fd44bd7 View commit details
    Browse the repository at this point in the history
  4. Bump patch version.

    ioquatix committed May 6, 2025
    Configuration menu
    Copy the full SHA
    d0dcf75 View commit details
    Browse the repository at this point in the history
Loading