Bump rack from 2.2.3 to 2.2.8.1 in /nndiscourse
Bumps rack from 2.2.3 to 2.2.8.1.
Release notes
Sourced from rack's releases.
v2.2.8.1
What's Changed
- Fixed ReDoS in Accept header parsing [CVE-2024-26146]
- Fixed ReDoS in Content Type header parsing [CVE-2024-25126]
- Reject Range headers which are too large [CVE-2024-26141]
Full Changelog: https://github.com/rack/rack/compare/v2.2.8...v2.2.8.1
v2.2.8
What's Changed
- Limit file extension length of multipart tempfiles (2.2 backport) by
@dentargin rack/rack#2075- CHANGELOG: Add missing 2.2.7 by
@tisbain rack/rack#2081- Update cookie.rb by
@dchandekstarkin rack/rack#2092- Prefer ubuntu-latest for testing. by
@ioquatixin rack/rack#2095- Fix inefficient assert pattern in Rack::Lint [2-2-stable] by
@skipkayhilin rack/rack#2101- Regenerate SPEC [2-2-stable] by
@skipkayhilin rack/rack#2102New Contributors
@tisbamade their first contribution in rack/rack#2081@dchandekstarkmade their first contribution in rack/rack#2092Full Changelog: https://github.com/rack/rack/compare/v2.2.7...v2.2.8
v2.2.7
What's Changed
- Correct the year number in the changelog by
@kimulabin rack/rack#2015- Support underscore in host names for Rack 2.2 (Fixes #2070) by
@jeremyevansin rack/rack#2071New Contributors
@kimulabmade their first contribution in rack/rack#2015Full Changelog: https://github.com/rack/rack/compare/v2.2.6.4...v2.2.7
v2.2.6.4
No release notes provided.
Changelog
Sourced from rack's changelog.
Changelog
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.
Unreleased
SPEC Changes
rack.inputis now optional. (#1997, [@ioquatix])Rack::Utils.escape_htmlis now delegated toCGI.escapeHTML.'is escaped to[#39](https://github.com/rack/rack/issues/39);instead of#x27;. (decimal vs hexadecimal) (#2099,@JunichiIto)Changed
rack.inputis 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::BadRequestwhich is included in multipart and query parser errors. (#2019, [@ioquatix])- MIME type for JavaScript files (
.js) changed fromapplication/javascripttotext/javascript(1bd0f15)- Add
.mjsMIME type (#2057, [@axilleas])- Update MIME types associated to
.ttf,.woff,.woff2and.otfextensions to use mondernfont/*types. (#2065, [@davidstosik])set_cookie_headerutility now supports thepartitionedcookie 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 theRangeheader if served file is 0 bytes. (#2159, [@zarqman])[3.0.9] - 2024-01-31
- Fix incorrect content-length header that was emitted when
Rack::Response#writewas used in some situations. (#2150, [@mattbrictson])[3.0.8] - 2023-06-14
- Fix some unused variable verbose warnings. (#2084, [
@jeremyevans],@skipkayhil)[3.0.7] - 2023-03-16
- Make query parameters without
=havenilvalues. (#2059, [@jeremyevans])[3.0.6.1] - 2023-03-13
- [CVE-2023-27539] Avoid ReDoS in header parsing
[3.0.6] - 2023-03-13
- Add
QueryParser#missing_valuefor handling missing values + tests. (#2052, [@ioquatix])[3.0.5] - 2023-03-13
- Split form/query parsing into two steps. (#2038,
@matthewd)[3.0.4.2] - 2023-03-02
- [CVE-2023-27530] Introduce multipart_total_part_limit to limit total parts
... (truncated)
Commits
e830011bump versiond9c163aAvoid 2nd degree polynomial regexp in MediaType6245768Return an empty array when ranges are too largee4c1177Fixing ReDoS in header parsingf169ff7Bump patch version.0a46487Regenerate SPEC (#2102)cee73b3Fix inefficient assert pattern in Rack::Lint (#2101)1fdcf1fPrefer ubuntu-latest for testing. (#2095)287fe43Update cookie.rb (#2092)e7f4869adds missing 2.2.7 to CHANGELOG.md (#2081)- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill 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.