mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix CGI extensions when they expect string but get nil in Windows. Closes #5276 [mislav@nippur.irb.hr]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4499 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
*SVN*
|
||||
|
||||
* Fix CGI extensions when they expect string but get nil in Windows. Closes #5276 [mislav@nippur.irb.hr]
|
||||
|
||||
* Determine the correct template_root for deeply nested components. #2841 [s.brink@web.de]
|
||||
|
||||
* Fix that routes with *path segments in the recall can generate URLs. [Rick]
|
||||
|
||||
@@ -36,7 +36,7 @@ class CGI #:nodoc:
|
||||
if boundary = extract_multipart_form_boundary(content_type)
|
||||
@multipart = true
|
||||
@params = read_multipart(boundary, content_length)
|
||||
elsif content_type.downcase != 'application/x-www-form-urlencoded'
|
||||
elsif content_type.blank? || content_type.downcase != 'application/x-www-form-urlencoded'
|
||||
read_params(method, content_length)
|
||||
@params = {}
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user