1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Typo in integration app session. Closes #5864.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4825 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2006-08-26 06:54:26 +00:00
parent 96c6ca369a
commit 9f8b8f5ca8

View file

@ -232,7 +232,7 @@ module ActionController
(headers || {}).each do |key, value| (headers || {}).each do |key, value|
key = key.to_s.upcase.gsub(/-/, "_") 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 env[key] = value
end end