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:
parent
96c6ca369a
commit
9f8b8f5ca8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue