Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove ignored flag, fixes warnings

  • Loading branch information...
commit 9c4532bf74604ae1c52a44d1aa8c1022a312ff88 1 parent 2d063c6
André Arko indirect authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_dispatch/middleware/remote_ip.rb
2  actionpack/lib/action_dispatch/middleware/remote_ip.rb
View
@@ -19,7 +19,7 @@ def initialize(app, check_ip_spoofing = true, custom_proxies = nil)
@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
Please sign in to comment.
Something went wrong with that request. Please try again.