diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-17 23:37:49 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-12-17 23:37:49 +0000 |
commit | 51172af82be3fa435cf9bbbd19d5e3e4c461e7e7 (patch) | |
tree | 06fb0bc54dd3dc5adee5555cc0ccb53eb037658a | |
parent | 3fe65950265b4c598b8a0f2cdd9b5aed9b4c9c86 (diff) | |
download | ruby-51172af82be3fa435cf9bbbd19d5e3e4c461e7e7.tar.gz |
* lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer
works. [ruby-core:09738]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | lib/cgi.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Mon Dec 18 08:36:29 2006 Yukihiro Matsumoto <matz@ruby-lang.org> + + * lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer + works. [ruby-core:09738] + Fri Dec 15 00:19:53 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> * win32/Makefile.sub (COMPILE_RULES): latter rule has higher priority. diff --git a/lib/cgi.rb b/lib/cgi.rb index 440d3bef90..57ab6bd7ef 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -811,7 +811,7 @@ class CGI end @name = options["name"] - @value = Array(options["value"]) + @value = Array(options["value"].lines) # simple support for IE if options["path"] @path = options["path"] |