Project

General

Profile

Actions

Bug #609

closed

cgi.rbで&&がクエリにあると例外

Added by xibbar (Takeyuki FUJIOKA) about 16 years ago. Updated over 13 years ago.

Status:
Closed
ruby -v:
Backport:
[ruby-dev:36618]

Description

=begin
$ 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 `'
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0