- 31 Jul, 2016 1 commit
-
-
lookatmike authored
-
- 24 Jul, 2016 1 commit
-
-
Stan Hu authored
Certain reverse proxies can send invalid IP addresses in the X-Forwarded-For header For example, Apache can send (null). Closes #20194
-
- 21 Jul, 2016 2 commits
-
-
Alejandro Rodríguez authored
Storage path are not created until `TestEnv.init`, so we must skip their validation on initialization.
-
Alejandro Rodríguez authored
-
- 01 Jul, 2016 1 commit
-
-
Grzegorz Bizon authored
-
- 30 Jun, 2016 2 commits
-
-
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.
-
Alejandro Rodríguez authored
-
- 24 Jun, 2016 1 commit
-
-
Stan Hu authored
-
- 04 May, 2016 1 commit
-
-
DJ Mountney authored
Each test reloads the trusted_proxies initializer, which in turn will set Rails.application.config.action_dispatch.trusted_proxies to something new. This will leak into the other tests, but the middleware that it is used in has already been loaded for the whole test suite, so it should have no impact.
-
- 18 Jan, 2016 1 commit
-
-
Rémy Coutable authored
-