From cc1bbfda4a2f5f442e0618f93c096d16eeb4309b Mon Sep 17 00:00:00 2001 From: Mitchell Henke Date: Thu, 18 Jan 2024 09:25:04 -0600 Subject: [PATCH] Update Rack Attack changelog: Internal, Rate Limiting, Update Rack Attack --- Gemfile | 2 +- Gemfile.lock | 12 +++++++++--- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Gemfile b/Gemfile index 0179b2f46ff..d9f4980af54 100644 --- a/Gemfile +++ b/Gemfile @@ -56,7 +56,7 @@ gem 'premailer-rails', '>= 1.12.0' gem 'profanity_filter' gem 'propshaft' gem 'rack', '>= 3.0' -gem 'rack-attack', '>= 6.2.1' +gem 'rack-attack', github: 'rack/rack-attack', ref: 'd9fedfae4f7f6409f33857763391f4e18a6d7467' gem 'rack-cors', '>= 1.0.5', require: 'rack/cors' gem 'rack-headers_filter' gem 'rack-timeout', require: false diff --git a/Gemfile.lock b/Gemfile.lock index af282c95219..ee845566dc0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -57,6 +57,14 @@ GIT selenium-webdriver (>= 4.0) webrick (>= 1.7) +GIT + remote: https://github.com/rack/rack-attack.git + revision: d9fedfae4f7f6409f33857763391f4e18a6d7467 + ref: d9fedfae4f7f6409f33857763391f4e18a6d7467 + specs: + rack-attack (6.7.0) + rack (>= 1.0, < 4) + GEM remote: https://rubygems.org/ specs: @@ -477,8 +485,6 @@ GEM raabro (1.4.0) racc (1.7.3) rack (3.0.8) - rack-attack (6.7.0) - rack (>= 1.0, < 4) rack-cors (2.0.1) rack (>= 2.0.0) rack-headers_filter (0.0.1) @@ -805,7 +811,7 @@ DEPENDENCIES psych puma (~> 6.0) rack (>= 3.0) - rack-attack (>= 6.2.1) + rack-attack! rack-cors (>= 1.0.5) rack-headers_filter rack-mini-profiler (>= 1.1.3)