diff --git a/ChangeLog b/ChangeLog index 78d63b7779..75213c2210 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Sat Dec 28 03:09:58 2002 Wakou Aoyama + + * lib/cgi.rb (CGI#[]): improvement. thanks to Kazuhiro NISHIYAMA + + Sat Dec 28 00:34:03 2002 WATANABE Hirofumi * {win32,bcc32}/Makefile.sub: remove `=' from --make-flags options. diff --git a/lib/cgi.rb b/lib/cgi.rb index fbb9a346c2..bf7aa85f59 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -943,6 +943,9 @@ convert string charset, and set language to "ja". def [](key) value = @params[key][0] + def value.to_ary + [self.dup] + end def value.[](key) $stderr.puts <