From 8a95f1257fefd77d72fabeb49419109b4ff18e32 Mon Sep 17 00:00:00 2001 From: wakou Date: Wed, 3 Jul 2002 02:36:46 +0000 Subject: [PATCH] * lib/cgi.rb (CGI#initialize): improvement for mod_ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 4 ++++ lib/cgi.rb | 1 + 2 files changed, 5 insertions(+) diff --git a/ChangeLog b/ChangeLog index bad575dd3e..bd95b11192 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Wed Jul 3 02:32:31 2002 Wakou Aoyama + + * lib/cgi.rb (CGI#initialize): improvement for mod_ruby. + Tue Jul 2 14:13:11 2002 Wakou Aoyama * lib/cgi.rb (CGI#header): accept any type as value. diff --git a/lib/cgi.rb b/lib/cgi.rb index 620e8aa699..2bed0bdec4 100644 --- a/lib/cgi.rb +++ b/lib/cgi.rb @@ -1897,6 +1897,7 @@ The hash keys are case sensitive. Ask the samples. def initialize(type = "query") + Apache.request.setup_cgi_env if defined?(MOD_RUBY) extend QueryExtension if "POST" != env_table['REQUEST_METHOD'] initialize_query() # set @params, @cookies