aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/lib')
-rwxr-xr-xactionpack/lib/action_controller/cgi_ext/cgi_methods.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
index dc1b1189b5..81bc4867de 100755
--- a/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
+++ b/actionpack/lib/action_controller/cgi_ext/cgi_methods.rb
@@ -70,7 +70,7 @@ class CGIMethods #:nodoc:
# Value as part of a multipart request
value.read
elsif value.class == Array
- value.collect { | e | e.respond_to?(:read) ? e.read : e }
+ value.collect { |v| CGIMethods.get_typed_value(v) }
else
# Standard value (not a multipart request)
value.to_s