Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't shadow host method

  • Loading branch information...
commit c24a7cdd230ee0005add73b9d57bc859ddb57f83 1 parent b7529ed
@jeremy jeremy authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  actionpack/lib/action_controller/rack_process.rb
View
2  actionpack/lib/action_controller/rack_process.rb
@@ -30,7 +30,7 @@ def initialize(env, session_options = DEFAULT_SESSION_OPTIONS)
SERVER_NAME SERVER_PROTOCOL
HTTP_ACCEPT HTTP_ACCEPT_CHARSET HTTP_ACCEPT_ENCODING
- HTTP_ACCEPT_LANGUAGE HTTP_CACHE_CONTROL HTTP_FROM HTTP_HOST
+ HTTP_ACCEPT_LANGUAGE HTTP_CACHE_CONTROL HTTP_FROM
HTTP_NEGOTIATE HTTP_PRAGMA HTTP_REFERER HTTP_USER_AGENT ].each do |env|
define_method(env.sub(/^HTTP_/n, '').downcase) do
@env[env]
Please sign in to comment.
Something went wrong with that request. Please try again.