Bug #609

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

Added by Takeyuki FUJIOKA over 6 years ago. Updated almost 4 years ago.

[ruby-dev:36618]
Status:Closed
Priority:Normal
Assignee:Takeyuki FUJIOKA
ruby -v: Backport:

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 methodvalid_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

History

#1 Updated by Takeyuki FUJIOKA over 6 years ago

  • Target version set to 1.9.1 Release Candidate

=begin

=end

#2 Updated by Takeyuki FUJIOKA over 6 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
Applied in changeset r19613.
=end

Also available in: Atom PDF