aboutsummaryrefslogtreecommitdiffstats
path: root/lib/cgi.rb
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
commit3d519d2d602d21a0bd4364d5d3be0c472ab4be5b (patch)
tree1761d470b24cea83ff59cc278e390a07b918e8e2 /lib/cgi.rb
parenteb7b81158a21798a49110bcb673205e680a12852 (diff)
downloadruby-3d519d2d602d21a0bd4364d5d3be0c472ab4be5b.tar.gz
* lib/cgi.rb (CGI::Cookie::initialize): option["value"] may or may
not be string. [ruby-core:09750] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11413 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 57ab6bd7ef..b7b5c2b9f7 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"]