Permalink
Browse files

Merge [6446] from trunk. Never return nil from read_params for compat…

…ibility with plain CGI query params parser. References #7581.

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/1-2-stable@6448 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 53c87f9 commit 98caf444f3b2507a4f5259fbccfb98576facb9e0 @jeremy jeremy committed Mar 18, 2007
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/cgi_ext/raw_post_data_fix.rb
@@ -65,7 +65,7 @@ def read_query
if env_qs.blank? && !(uri = env_table['REQUEST_URI']).blank?
uri.split('?', 2)[1] || ''
else
- env_qs
+ env_qs || ''
end
end
end

0 comments on commit 98caf44

Please sign in to comment.