Actions
Bug #609
closedcgi.rbで&&がクエリにあると例外
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
Like0
Like0Like0