• DJ Mountney's avatar
    Make Rack::Request use our trusted proxies when filtering IP addresses · 860785f0
    DJ Mountney authored
    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.
    860785f0