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 | b78742c4d416f7ec0b0f218a354680a62a9db64c (patch) | |
| tree | 06fb0bc54dd3dc5adee5555cc0ccb53eb037658a | |
| parent | 0a93e6f7418e248e746bc7a5be6abc4d07d147a1 (diff) | |
| download | ruby-b78742c4d416f7ec0b0f218a354680a62a9db64c.tar.gz ruby-b78742c4d416f7ec0b0f218a354680a62a9db64c.tar.xz ruby-b78742c4d416f7ec0b0f218a354680a62a9db64c.zip | |
* lib/cgi.rb (CGI::Cookie::initialize): Array(string) no longer
works. [ruby-core:09738]
git-svn-id: http://svn.ruby-lang.org/repos/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 440d3bef9..57ab6bd7e 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"] |
