diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-26 06:54:26 +0000 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2006-08-26 06:54:26 +0000 |
commit | 9f8b8f5ca8b49454d6acc8e15149a77ad1a0dbfd (patch) | |
tree | a8daaeeb3082fbeee9fdb02683c1e25eef7a39e2 | |
parent | 96c6ca369a302d25c721f0cf2c9d28b0c51e2a69 (diff) | |
download | rails-9f8b8f5ca8b49454d6acc8e15149a77ad1a0dbfd.tar.gz rails-9f8b8f5ca8b49454d6acc8e15149a77ad1a0dbfd.tar.bz2 rails-9f8b8f5ca8b49454d6acc8e15149a77ad1a0dbfd.zip |
Typo in integration app session. Closes #5864.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rw-r--r-- | actionpack/lib/action_controller/integration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/integration.rb b/actionpack/lib/action_controller/integration.rb index 4c7ead6552..ff7944148c 100644 --- a/actionpack/lib/action_controller/integration.rb +++ b/actionpack/lib/action_controller/integration.rb @@ -232,7 +232,7 @@ module ActionController (headers || {}).each do |key, value| key = key.to_s.upcase.gsub(/-/, "_") - key = "HTTP_#{key}" unless env.has_key?(key) || env =~ /^X|HTTP/ + key = "HTTP_#{key}" unless env.has_key?(key) || key =~ /^X|HTTP/ env[key] = value end |