summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-21 16:36:31 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-21 16:36:31 +0000
commitef8395a82e8c7d03a7e18f8a1331da2fd52d6fa6 (patch)
tree1761d470b24cea83ff59cc278e390a07b918e8e2 /lib
parentb7708ce0f3a5895c9f4e7fa9b4f0cdc16ee0808c (diff)
downloadruby-ef8395a82e8c7d03a7e18f8a1331da2fd52d6fa6.tar.gz
ruby-ef8395a82e8c7d03a7e18f8a1331da2fd52d6fa6.tar.xz
ruby-ef8395a82e8c7d03a7e18f8a1331da2fd52d6fa6.zip
* lib/cgi.rb (CGI::Cookie::initialize): option["value"] may or may
not be string. [ruby-core:09750] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/cgi.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index 57ab6bd7e..b7b5c2b9f 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -811,7 +811,7 @@ class CGI
end
@name = options["name"]
- @value = Array(options["value"].lines)
+ @value = *options["value"]
# simple support for IE
if options["path"]
@path = options["path"]