Thanks to visit codestin.com
Credit goes to github.com

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: v3.0.4.1
Choose a base ref
...
head repository: rack/rack
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.0.8
Choose a head ref
  • 18 commits
  • 15 files changed
  • 5 contributors

Commits on Jan 20, 2023

  1. Fix changelog date.

    ioquatix committed Jan 20, 2023
    Configuration menu
    Copy the full SHA
    f310e6e View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2023

  1. Limit all multipart parts, not just files

    Previously we would limit the number of multipart parts which were
    files, but not other parts. In some cases this could cause parsing of
    maliciously crafted inputs to take longer than expected.
    
    [CVE-2023-27530]
    jhawthorn authored and tenderlove committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    b5d70b3 View commit details
    Browse the repository at this point in the history
  2. bump version

    tenderlove committed Mar 2, 2023
    1 Configuration menu
    Copy the full SHA
    5c18f30 View commit details
    Browse the repository at this point in the history
  3. Merge branch '3-0-sec' into 3-0-stable

    * 3-0-sec:
      bump version
      Limit all multipart parts, not just files
    tenderlove committed Mar 2, 2023
    Configuration menu
    Copy the full SHA
    66325b1 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2023

  1. test-external.yaml - use ruby/setup-ruby-pkgs (#2048)

    # Conflicts:
    #	.github/workflows/test-external.yaml
    ioquatix committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    91f0c4b View commit details
    Browse the repository at this point in the history
  2. Split form/query parsing into two steps (#2038)

    * Split form/query parsing into two steps
    
    First we parse the raw input into a stream of [key, value] pairs, and
    only after that do we expand that into the deep params hash.
    
    This allows a user to operate directly on the pair stream if they need
    to apply different semantics, without needing to rewind the input, and
    without creating a conflict with anything else (like a middleware) that
    wants to use Rack's standard GET / POST hash format.
    matthewd authored and ioquatix committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    7215fa7 View commit details
    Browse the repository at this point in the history
  3. Bump patch version.

    ioquatix committed Mar 12, 2023
    Configuration menu
    Copy the full SHA
    9f8ba5e View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2023

  1. Add QueryParser#missing_value for handling missing values + tests. (#…

    …2052)
    
    # Conflicts:
    #	lib/rack/query_parser.rb
    ioquatix committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    848c9c0 View commit details
    Browse the repository at this point in the history
  2. Bump patch version.

    ioquatix committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    e9e9ae6 View commit details
    Browse the repository at this point in the history
  3. Update changelog.

    ioquatix committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    54a9ed2 View commit details
    Browse the repository at this point in the history
  4. Avoid ReDoS problem

    Split headers on commas, then strip the strings in order to avoid ReDoS
    issues.
    
    [CVE-2023-27539]
    tenderlove committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    231ef36 View commit details
    Browse the repository at this point in the history
  5. bump version

    tenderlove committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    098d8e1 View commit details
    Browse the repository at this point in the history
  6. Merge branch '3-0-sec' into 3-0-stable

    * 3-0-sec:
      bump version
      Avoid ReDoS problem
    tenderlove committed Mar 13, 2023
    Configuration menu
    Copy the full SHA
    51e7a0f View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2023

  1. Make query parameters without = have nil values (#2059) (#2060)

    * Revert "Prefer to use `query_parser` itself as the cache key. (#2058)"
    
    This reverts commit 5f90c33.
    
    * Revert "Fix handling of cached values in `Rack::Request`. (#2054)"
    
    This reverts commit d25fedd.
    
    * Revert "Add `QueryParser#missing_value` for handling missing values + tests. (#2052)"
    
    This reverts commit 59d9ba9.
    
    * Revert "Split form/query parsing into two steps (#2038)"
    
    This reverts commit 9f059d1.
    
    * Make query parameters without = have nil values
    
    This was Rack's historical behavior.  While it doesn't match
    URL spec section 5.1.3.3, keeping the historical behavior avoids
    all of the complexity required to support the URL spec standard
    by default, but also support frameworks that want to be backwards
    compatible.
    
    This keeps as much of the specs added by the recently reverted
    commits that make sense.
    # Conflicts:
    #	lib/rack/multipart.rb
    #	lib/rack/request.rb
    #	test/spec_request.rb
    ioquatix authored Mar 16, 2023
    Configuration menu
    Copy the full SHA
    d38b456 View commit details
    Browse the repository at this point in the history
  2. Update changelog.

    ioquatix committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    94dd78b View commit details
    Browse the repository at this point in the history
  3. Bump patch version.

    ioquatix committed Mar 16, 2023
    Configuration menu
    Copy the full SHA
    2429b7b View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2023

  1. Configuration menu
    Copy the full SHA
    32736d2 View commit details
    Browse the repository at this point in the history
  2. Bump patch verison.

    ioquatix committed Jun 14, 2023
    Configuration menu
    Copy the full SHA
    d28c464 View commit details
    Browse the repository at this point in the history
Loading