class
ActionDispatch::RemoteIp
v3.2.8 -
Show latest stable
- Superclass: Object
No documentation available for this class.
Constants
TRUSTED_PROXIES = %r{\n^127\\.0\\.0\\.1$ | # localhost\n^(10 | # private IP 10.x.x.x\n172\\.(1[6-9]|2[0-9]|3[0-1]) | # private IP in the range 172.16.0.0 .. 172.31.255.255\n192\\.168 # private IP 192.168.x.x\n)\\.\n}x
Attributes
| [R] | check_ip |
| [R] | proxies |
Files
- actionpack/lib/action_dispatch/middleware/remote_ip.rb