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.9.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.12
Choose a head ref
  • 10 commits
  • 10 files changed
  • 5 contributors

Commits on Mar 20, 2024

  1. Backport #2104 to 3-0-stable

    Return empty when parsing a multi-part POST with only one end delimiter.
    
    Fixed: #2103
    
    Sending the following request in a browser generates a request with
    with only one end delimiter.
    
    ```javascript
    const formData = new FormData();
    const request = new Request('http://127.0.0.1:8080/', {
      method: 'POST',
      body: formData,
    });
    const response = fetch(request);
    ```
    
    ```
    curl 'http://127.0.0.1:8080/' \
      -H 'Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryR1LC4tR6ayskIXJm' \
      --data-raw $'------WebKitFormBoundaryR1LC4tR6ayskIXJm--\r\n'
    ```
    
    This request is not compliant RFC7578, but is generated by major browsers such as
    FireFox and Chrome.
    Supporting this request will cause the multipart parser to return an empty value.
    alpaca-tc authored and jeremyevans committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    f856dbd View commit details
    Browse the repository at this point in the history
  2. Bump patch version.

    ioquatix committed Mar 20, 2024
    Configuration menu
    Copy the full SHA
    d3c545e View commit details
    Browse the repository at this point in the history

Commits on Apr 22, 2024

  1. Configuration menu
    Copy the full SHA
    4da4e4a View commit details
    Browse the repository at this point in the history

Commits on May 9, 2024

  1. Backport #2062 to 3-0-stable (#2176)

    * Do not allow BodyProxy to respond to to_str, make to_ary call close
    
    See rack/rack-test#335 for an example
    where allowing BodyProxy to respond to to_str (when provided an
    invalid rack body) complicated debugging.
    
    Call BodyProxy#close if BodyProxy#to_ary is called, as not doing so
    violates SPEC.
    
    * Changelog for #2062
    
    ---------
    
    Co-authored-by: Jeremy Evans <code@jeremyevans.net>
    Earlopain and jeremyevans authored May 9, 2024
    Configuration menu
    Copy the full SHA
    b9a60d9 View commit details
    Browse the repository at this point in the history
  2. Bump patch version.

    ioquatix committed May 9, 2024
    Configuration menu
    Copy the full SHA
    3b5cef7 View commit details
    Browse the repository at this point in the history
  3. Update CHANGELOG

    ioquatix committed May 9, 2024
    Configuration menu
    Copy the full SHA
    efe2a9d View commit details
    Browse the repository at this point in the history
  4. Remove Ruby 3.0 from test-external (#2177)

    v0.5.1 of `protocol-rack` dropped support for Ruby 3.0
    Earlopain authored and ioquatix committed May 9, 2024
    Configuration menu
    Copy the full SHA
    cf26ef1 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2024

  1. Update CHANGELOG.md (#2224)

    Synchronise 3-1-stable changelog with 3-0-stable.
    ioquatix authored Jul 2, 2024
    Configuration menu
    Copy the full SHA
    e1376a5 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2025

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

    ioquatix committed Feb 12, 2025
    Configuration menu
    Copy the full SHA
    5459513 View commit details
    Browse the repository at this point in the history
Loading