Skip to content
Snippets Groups Projects
Commit 860785f0 authored by DJ Mountney's avatar DJ Mountney
Browse files

Make Rack::Request use our trusted proxies when filtering IP addresses

This allows us to control the trusted proxies while deployed in a private network. Normally Rack::Request will trust all private IPs as trusted proxies, which can caue problems if your users are connection on you network via private IP ranges.

Normally in a rails app this is handled by action_dispatch request, but rack_attack is specifically using the Rack::Request object instead.
parent b32a6add
No related branches found
No related tags found
1 merge request!4958Make Rack::Request use our trusted proxies when filtering IP addresses
Pipeline #
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment