1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/webrick
gotoyuzo 8ee3267d26 * lib/webrick/httpservlet/filehandler.rb: should normalize path
name in path_info to prevent script disclosure vulnerability on
  DOSISH filesystems. (fix: CVE-2008-1891)
  Note: NTFS/FAT filesystem should not be published by the platforms
  other than Windows. Pathname interpretation (including short
  filename) is less than perfect.

* lib/webrick/httpservlet/abstract.rb
  (WEBrick::HTTPServlet::AbstracServlet#redirect_to_directory_uri):
  should escape the value of Location: header.

* lib/webrick/httpservlet/cgi_runner.rb: accept interpreter
  command line arguments.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-05-18 13:33:24 +00:00
..
test_cgi.rb * lib/webrick/httpservlet/filehandler.rb: should normalize path 2008-05-18 13:33:24 +00:00
test_cookie.rb * lib/webrick/cookie.rb (WEBrick::Cookie.parse_set_cookies): new 2006-09-08 01:04:52 +00:00
test_filehandler.rb * lib/webrick/httpservlet/filehandler.rb: should normalize path 2008-05-18 13:33:24 +00:00
test_httpauth.rb * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): 2005-01-07 11:05:22 +00:00
test_httpproxy.rb * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): 2007-12-31 14:17:41 +00:00
test_httprequest.rb * lib/webrick/httprequest.rb: supprt X-Forwarded-* header fields. 2008-01-09 11:37:03 +00:00
test_httpserver.rb * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): 2005-01-07 11:05:22 +00:00
test_httputils.rb * lib/webrick/cgi.rb: new methods WEBrick::CGI#[], WEBrick::CGI#logger 2005-04-29 22:10:56 +00:00
test_httpversion.rb * lib/webrick/httpproxy.rb (WEBrick::HTTPProxyServer#proxy_service): 2005-01-07 11:05:22 +00:00
test_server.rb * test/webrick/test_server.rb (test_daemon): delete an assertion 2005-01-08 19:09:12 +00:00
test_utils.rb * lib/webrick/config.rb (WEBrick::Config::HTTP): add new parameters, 2006-05-18 13:42:52 +00:00
utils.rb * lib/webrick/httpservlet/filehandler.rb: should normalize path 2008-05-18 13:33:24 +00:00
webrick.cgi * lib/webrick/httpservlet/cgihandler.rb 2005-10-30 20:40:05 +00:00