All notable changes to this project will be documented in this file. For info on how to format all future additions to this file please reference Keep A Changelog.
PATH_INFO is now validated according to the HTTP/1.1 specification. (#2117, [@ioquatix])
rack.protocol is an optional environment key and response header for handling connection upgrades.
Changed
rack.input is now optional, and if missing, will raise an error. Use this to fail on multipart parsing a request without an input body. (#2018, [@ioquatix])
Introduce module Rack::BadRequest which is included in multipart and query parser errors. (#2019, [@ioquatix])
MIME type for JavaScript files (.js) changed from application/javascript to text/javascript (1bd0f15)
Update MIME types associated to .ttf, .woff, .woff2 and .otf extensions to use mondern font/* types. (#2065, [@davidstosik])
Rack::Utils.escape_html is now delegated to CGI.escapeHTML. ' is escaped to [#39](https://github.com/rack/rack/issues/39); instead of #x27;. (decimal vs hexadecimal) (#2099, @JunichiIto)
set_cookie_header utility now supports the partitioned cookie attribute. This is required by Chrome in some embedded contexts. (#2131, [@flavio-b])
Remove non-standard status codes 306, 509, & 510 and update descriptions for 413, 422, & 451. (#2137, [@wtn])
Add fallback lookup and deprecation warning for obsolete status symbols. (#2137, [@wtn])
In Rack::Files, ignore the Range header if served file is 0 bytes. (#2159, [@zarqman])
rack.early_hints is now officially supported as an optional feature (already implemented by Unicorn, Puma, and Falcon). (#1831, [@casperisfine, @jeremyevans])
Deprecate automatic cache invalidation in Request#{GET,POST} (#2073 ([@jeremyevans])
Only cookie keys that are not valid according to the HTTP specifications are escaped. We are planning to deprecate this behaviour, so now a deprecation message will be emitted in this case. In the future, invalid cookie keys may not be accepted. (#2191, [@ioquatix])
[3.0.11] - 2024-05-10
Backport #2062 to 3-0-stable: Do not allow BodyProxy to respond to to_str, make to_ary call close . (#2062, @jeremyevans)
[3.0.10] - 2024-03-21
Backport #2104 to 3-0-stable: Return empty when parsing a multi-part POST with only one end delimiter. (#2164, @JoeDupuis)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/leikind/wice_grid/network/alerts).
Bumps rack from 2.0.6 to 2.2.9.
Release notes
Sourced from rack's releases.
Changelog
Sourced from rack's changelog.
... (truncated)
Commits
b1deebd
Bump patch version.f7d40f9
Merge branch '2-2-sec' into 2-2-stablee830011
bump versiond9c163a
Avoid 2nd degree polynomial regexp in MediaType6245768
Return an empty array when ranges are too largee4c1177
Fixing ReDoS in header parsingfdb12cb
backport #2104 (#2121)99057e6
Update CHANGELOG for 2.2.8 (#2107)3314622
Adds missing 2.2.8 to CHANGELOG.md (#2106)f169ff7
Bump patch version.Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show