Skip to content

Commit 4373bad

Browse files
authored
chore(deps): bump rack-protection from 4.1.1 to 4.2.0 (#1107)
Bumps [rack-protection](https://github.com/sinatra/sinatra) from 4.1.1 to 4.2.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/sinatra/sinatra/blob/main/CHANGELOG.md">rack-protection's changelog</a>.</em></p> <blockquote> <h2>4.2.0 / 2025-10-08</h2> <ul> <li>New: Add <code>:static_headers</code> setting for custom headers in static file responses (<a href="https://redirect.github.com/sinatra/sinatra/pull/2089">#2089</a>)</li> <li>Fix: Fix regex in <code>etag_matches?</code> to prevent ReDoS (<a href="https://redirect.github.com/sinatra/sinatra/pull/2121">#2121</a>))</li> <li>Fix: <code>PATH_INFO</code> can never be empty (<a href="https://redirect.github.com/sinatra/sinatra/pull/2114">#2114</a>)</li> <li>Fix: Fix malformed Content-Type headers (<a href="https://redirect.github.com/sinatra/sinatra/pull/2081">#2081</a>)</li> <li>Fix: Avoid crash for integer values in <code>content_type</code> parameters (<a href="https://redirect.github.com/sinatra/sinatra/pull/2078">#2078</a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/sinatra/sinatra/commit/f2ad45f7d2456172974a30d300e9f82424336e09"><code>f2ad45f</code></a> 4.2.0 release (<a href="https://redirect.github.com/sinatra/sinatra/issues/2122">#2122</a>)</li> <li><a href="https://github.com/sinatra/sinatra/commit/cfcc70dee1133690207b5a3dc6000426ec04e250"><code>cfcc70d</code></a> CI: don't use <code>Rack::Lint</code> on invalid hostname (<a href="https://redirect.github.com/sinatra/sinatra/issues/2086">#2086</a>)</li> <li>See full diff in <a href="https://github.com/sinatra/sinatra/compare/v4.1.1...v4.2.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=rack-protection&package-manager=bundler&previous-version=4.1.1&new-version=4.2.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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 <dependency name> 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) </details>
2 parents 87d1c25 + b4f2b1e commit 4373bad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ GEM
541541
rack (>= 3.0.14)
542542
rack-mini-profiler (4.0.1)
543543
rack (>= 1.2.0)
544-
rack-protection (4.1.1)
544+
rack-protection (4.2.0)
545545
base64 (>= 0.1.0)
546546
logger (>= 1.6.0)
547547
rack (>= 3.0.0, < 4)

0 commit comments

Comments
 (0)