Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no implicit conversion of Hash into String in rack-attack gem from 3.2.7 #1012

Open
xspaniki opened this issue Aug 13, 2024 · 1 comment
Open

Comments

@xspaniki
Copy link

Hello, from version 3.2.7 i got no implicit conversion of Hash into String in rack-attack gem here

Rack::Attack::Fail2Ban.filter("pentesters-#{req.ip}", maxretry: 3, findtime: 10.minutes, bantime: 5.minutes)

and exactly problem ends here https://github.com/rack/rack-attack/blob/main/lib/rack/attack/cache.rb#L76

Version 3.2.6 is ok. Any suggestions ? Thanks :)

@jgroomer-bse
Copy link

We are having the same problem, but ending in Socksify.

https://github.com/astro/socksify-ruby/blame/0d8b261672d915fb0b811b136a25b3f3dbb9caea/lib/socksify.rb#L178C6-L178C56 (latest released version, 1.7.1)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants