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:
parent
02b589fd43
commit
ad9af3738b
2 changed files with 10 additions and 1 deletions
|
@ -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().
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue