Project

General

Profile

Actions

Bug #602

closed

CGI::HtmlExtension::popup_menu calls #bytesize on array parameters

Added by funny_falcon (Yura Sokolov) almost 14 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
ruby -v:
Backport:
[ruby-core:18919]

Description

=begin
After line 623
values.collect{|value|
if value.kind_of?(String)
option({ "VALUE" => value }){ value }
else

  •        if value[value.bytesize - 1] == true
    
  •        if value[value.size - 1] == true
             option({ "VALUE" => value[0], "SELECTED" => true }){
    
  •            value[value.bytesize - 2]
    
  •            value[value.size - 2]
             }
           else
             option({ "VALUE" => value[0] }){
    
  •            value[value.bytesize - 1]
    
  •            value[value.size - 1]
             }
           end
         end
       }.join
    

=end

Actions #1

Updated by ko1 (Koichi Sasada) almost 14 years ago

  • Assignee set to xibbar (Takeyuki FUJIOKA)

=begin

=end

Actions #2

Updated by funny_falcon (Yura Sokolov) almost 14 years ago

=begin
File lib/cgi/html.rb
=end

Actions #3

Updated by yugui (Yuki Sonoda) almost 14 years ago

  • Due date set to 10/25/2008
  • Target version set to 1.9.1 Release Candidate

=begin

=end

Actions #4

Updated by xibbar (Takeyuki FUJIOKA) almost 14 years ago

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

=begin
Applied in changeset r19614.
=end

Actions

Also available in: Atom PDF