From: matz@... (Yukihiro Matsumoto) Date: 2003-01-17T22:38:08+09:00 Subject: Re: Bug in CGI::Session ? Hi, In message "Bug in CGI::Session ?" on 03/01/17, Francois Goret writes: | |The following doesn't work anymore with the latest CVS version of Ruby 1.8: |---------------------- |require 'cgi' |require 'cgi/session' | |cgi = CGI.new |session = CGI::Session.new(cgi) |---------------------- |fg@tkp:~$ ruby test.rb |(offline mode: enter name=value pairs on standard input) |/usr/local/lib/ruby/1.8/cgi.rb:947:in `dup': can't dup NilClass (TypeError) | from /usr/local/lib/ruby/1.8/cgi.rb:947:in `to_ary' | from /usr/local/lib/ruby/1.8/cgi/session.rb:37:in `initialize' | from test.rb:7:in `new' | from test.rb:7 | |Looks like the bug follows the changes on CGI#[] done on Dec 28th. Thank you for pointing out. I will fix this soon. matz.