diff options
author | Carlhuda <carlhuda@engineyard.com> | 2010-03-03 16:32:27 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2010-03-03 21:24:00 -0800 |
commit | 786724107c3dedaeccaae9e187458b48df472f90 (patch) | |
tree | e7c418373d100b3cd24124128f87dd37e22d278f /actionpack/test | |
parent | 52efbdcdefa678ae2ee9530bcfefd0e2529b188f (diff) | |
download | rails-786724107c3dedaeccaae9e187458b48df472f90.tar.gz rails-786724107c3dedaeccaae9e187458b48df472f90.tar.bz2 rails-786724107c3dedaeccaae9e187458b48df472f90.zip |
Deprecate IP spoofing settings that are directly on the controller in favor of configuring a middleware
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/dispatch/request_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/actionpack/test/dispatch/request_test.rb b/actionpack/test/dispatch/request_test.rb index 3a07185586..badef4e92e 100644 --- a/actionpack/test/dispatch/request_test.rb +++ b/actionpack/test/dispatch/request_test.rb @@ -87,8 +87,6 @@ class RequestTest < ActiveSupport::TestCase request = stub_request 'HTTP_X_FORWARDED_FOR' => '9.9.9.9, 3.4.5.6, 10.0.0.1, 67.205.106.73' assert_equal '3.4.5.6', request.remote_ip - - ActionController::Base.trusted_proxies = nil end test "domains" do |