aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cgi.rb
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-28 06:34:02 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-28 06:34:02 +0000
commit703532aa1c71addb3640d597c86f17c4e7feeb48 (patch)
tree54a1eb931ad401f9842cb57c8df6a86f84457f89 /lib/cgi.rb
parenta77bb6b7a761ed7cab8e615284ef7344a571b8f4 (diff)
downloadruby-703532aa1c71addb3640d597c86f17c4e7feeb48.tar.gz
* lib/cgi.rb (CGI::Cookie::initialize): use Array() again.
[ruby-core:09781] * object.c (rb_Array): returns 1-element array if the argument does not have to_ary nor to_a. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/cgi.rb')
-rw-r--r--lib/cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index b7b5c2b9f7..440d3bef90 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -811,7 +811,7 @@ class CGI
end
@name = options["name"]
- @value = *options["value"]
+ @value = Array(options["value"])
# simple support for IE
if options["path"]
@path = options["path"]