aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2006-08-26 06:54:26 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2006-08-26 06:54:26 +0000
commit9f8b8f5ca8b49454d6acc8e15149a77ad1a0dbfd (patch)
treea8daaeeb3082fbeee9fdb02683c1e25eef7a39e2 /actionpack/lib
parent96c6ca369a302d25c721f0cf2c9d28b0c51e2a69 (diff)
downloadrails-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
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/integration.rb2
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