Bug #609: cgi.rbで&&がクエリにあると例外
http://redmine.ruby-lang.org/issues/show/609

起票者: Takeyuki Fujioka
ステータス: Open, 優先度: Normal
担当者: Takeyuki Fujioka, カテゴリ: lib

$ ruby19 -rcgi -e 'CGI.new'
(offline mode: enter name=value pairs on standard input)
foo=bar&&baz=qux
/home/mame/work/ruby19/local/lib/ruby/1.9.0/cgi/core.rb:606:in `block (2 levels) in initialize_query': undefined method `valid_encoding?' for nil:NilClass (NoMethodError)
        from /home/mame/work/ruby19/local/lib/ruby/1.9.0/cgi/core.rb:605:in `each'
        from /home/mame/work/ruby19/local/lib/ruby/1.9.0/cgi/core.rb:605:in `block in initialize_query'
        from /home/mame/work/ruby19/local/lib/ruby/1.9.0/cgi/core.rb:604:in `each'
        from /home/mame/work/ruby19/local/lib/ruby/1.9.0/cgi/core.rb:604:in `initialize_query'
        from /home/mame/work/ruby19/local/lib/ruby/1.9.0/cgi/core.rb:762:in `initialize'
        from -e:1:in `new'
        from -e:1:in `<main>'


----------------------------------------
http://redmine.ruby-lang.org