Project

General

Profile

Bug #1865

uninitialized class variable @@accept_charset in CGI

Added by znz (Kazuhiro NISHIYAMA) almost 10 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 1.9.2dev (2009-08-03 trunk 24359) [i686-linux]
Backport:
[ruby-dev:38987]

Description

=begin
cgi/util を直接 require して CGI.unescape を使うと NameError になります。

% ruby-trunk -v -r cgi/util -e 'CGI.unescape("")'
ruby 1.9.2dev (2009-08-03 trunk 24359) [i686-linux]
/home/kazu/opt/ruby-trunk/lib/ruby/1.9.1/cgi/util.rb:15:in unescape': uninitialized class variable @@accept_charset in CGI (NameError)
from -e:1:in
'
=end

History

#1

Updated by xibbar (Takeyuki FUJIOKA) over 9 years ago

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

=begin
Applied in changeset r25231.
=end

Also available in: Atom PDF