From ea714a39f048a3385aed37e3ffe0de906c53e933 Mon Sep 17 00:00:00 2001 From: gotoyuzo Date: Fri, 29 Apr 2005 22:10:56 +0000 Subject: * lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger and WEBrick::CGI#config. these are necessary to use an instance of WEBrick::CGI as the first argument of HTTPServlet#get_instance. (suggested by Tatsuki Sugiura) * lib/webrick/cgi.rb (WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware] if SERVER_SOFTWARE environment variable is not given. (WEBrick::CGI#start): req.path_info must be a String. (WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO and SCRIPT_NAME to run in console. * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should not use String#split("/"). it removes trailing empty path component. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@8393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index c99d61335..c571ad4fc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,20 @@ +Sat Apr 30 06:57:39 2005 GOTOU Yuuzou + + * lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger + and WEBrick::CGI#config. these are necessary to use an instance of + WEBrick::CGI as the first argument of HTTPServlet#get_instance. + (suggested by Tatsuki Sugiura) + + * lib/webrick/cgi.rb + (WEBrick::CGI#initalize): set a dummy to @config[:ServerSoftware] + if SERVER_SOFTWARE environment variable is not given. + (WEBrick::CGI#start): req.path_info must be a String. + (WEBrick::CGI::Socket#request_line): treat REQUEST_METHOD, PATH_INFO + and SCRIPT_NAME to run in console. + + * lib/webrick/httputils.rb (WEBrick::HTTPUtils.escape_path): should + not use String#split("/"). it removes trailing empty path component. + Thu Apr 28 08:21:51 2005 Nobuyoshi Nakada * ruby.c (set_arg0): use also environment variable space for setting -- cgit