diff options
author | Andre Arko <andre@arko.net> | 2011-11-13 10:22:12 -1000 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-11-13 10:22:12 -1000 |
commit | 9c4532bf74604ae1c52a44d1aa8c1022a312ff88 (patch) | |
tree | 15679ba801157f7e8f0cd315272563796db4f71c /actionpack/lib | |
parent | 2d063c6269a546c8bab4b36c027246f582bfaa13 (diff) | |
download | rails-9c4532bf74604ae1c52a44d1aa8c1022a312ff88.tar.gz rails-9c4532bf74604ae1c52a44d1aa8c1022a312ff88.tar.bz2 rails-9c4532bf74604ae1c52a44d1aa8c1022a312ff88.zip |
remove ignored flag, fixes warnings
Diffstat (limited to 'actionpack/lib')
-rw-r--r-- | actionpack/lib/action_dispatch/middleware/remote_ip.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_dispatch/middleware/remote_ip.rb b/actionpack/lib/action_dispatch/middleware/remote_ip.rb index 5f81b639ae..58e25aed5a 100644 --- a/actionpack/lib/action_dispatch/middleware/remote_ip.rb +++ b/actionpack/lib/action_dispatch/middleware/remote_ip.rb @@ -19,7 +19,7 @@ module ActionDispatch @app = app @check_ip_spoofing = check_ip_spoofing if custom_proxies - custom_regexp = Regexp.new(custom_proxies, "i") + custom_regexp = Regexp.new(custom_proxies) @trusted_proxies = Regexp.union(TRUSTED_PROXIES, custom_regexp) else @trusted_proxies = TRUSTED_PROXIES |