diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-28 06:34:02 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-28 06:34:02 +0000 |
| commit | 847a3ce81570169d3695546fc80bda9f28a8a0ea (patch) | |
| tree | 54a1eb931ad401f9842cb57c8df6a86f84457f89 /lib | |
| parent | 5624c59990d02510118ea77eb75f8f773383f31a (diff) | |
| download | ruby-847a3ce81570169d3695546fc80bda9f28a8a0ea.tar.gz ruby-847a3ce81570169d3695546fc80bda9f28a8a0ea.tar.xz ruby-847a3ce81570169d3695546fc80bda9f28a8a0ea.zip | |
* 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: http://svn.ruby-lang.org/repos/ruby/trunk@11426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/cgi.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb index b7b5c2b9f..440d3bef9 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"] |
