summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-29 05:39:09 +0000
committerwakou <wakou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-05-29 05:39:09 +0000
commit2c631db5f935adb7db19b8ff8c5ea77dc6e176d7 (patch)
treed7e3bcf08d31d0369310f86b2e0e8fc9893734a1 /lib
parentb1de4f25e27845bbeae835ed6a1b2be7f4f2d79c (diff)
fix for POST method.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/cgi.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/cgi.rb b/lib/cgi.rb
index e44ef862e3..13fd5bddfd 100644
--- a/lib/cgi.rb
+++ b/lib/cgi.rb
@@ -1905,8 +1905,8 @@ The hash keys are case sensitive. Ask the samples.
else
at_exit() do
if defined?(CGI_PARAMS)
- remove_const(:CGI_PARAMS)
- remove_const(:CGI_COOKIES)
+ self.class.class_eval("remove_const(:CGI_PARAMS)")
+ self.class.class_eval("remove_const(:CGI_COOKIES)")
end
end
end