1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.

thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda
	<shugo@modruby.net>


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
wakou 2002-07-05 05:04:25 +00:00
parent 02b589fd43
commit ad9af3738b
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,9 @@
Fri Jul 5 05:00:40 2002 Wakou Aoyama <wakou@ruby-lang.org>
* lib/cgi.rb (CGI#initialize): improvement for mod_ruby.
thanks to Sean Chittenden <sean@ruby-lang.org>, Shugo Maeda
<shugo@modruby.net>
Thu Jul 4 23:43:26 2002 Minero Aoki <aamine@loveruby.net>
* parse.y: remove useless function str_extend_p().

View file

@ -1897,7 +1897,10 @@ The hash keys are case sensitive. Ask the samples.
def initialize(type = "query")
Apache.request.setup_cgi_env if defined?(MOD_RUBY)
if defined?(MOD_RUBY) && !ENV.key?("GATEWAY_INTERFACE")
Apache.request.setup_cgi_env
end
extend QueryExtension
if "POST" != env_table['REQUEST_METHOD']
initialize_query() # set @params, @cookies