Skip to content

Commit bb7dce4

Browse files
committed
Fix reference error of @@accept_charset class variable.
``` Error: test_cgi_multipart_stringio(CGIMultipartTest): RuntimeError: class variable @@accept_charset of CGI is overtaken by CGI::Escape /Users/hsbt/Documents/github.com/ruby/cgi/lib/cgi/core.rb:852:in 'initialize' org/jruby/RubyClass.java:1023:in 'new' ```
1 parent 25400c9 commit bb7dce4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/cgi.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ class CGI
291291
VERSION = "0.5.0.beta1"
292292
end
293293

294-
require 'cgi/core'
295-
require 'cgi/cookie'
296294
require 'cgi/util'
297295
require 'cgi/escape' unless defined?(CGI::EscapeExt)
296+
require 'cgi/core'
297+
require 'cgi/cookie'
298298
CGI.autoload(:HtmlExtension, 'cgi/html')

0 commit comments

Comments
 (0)