ruby-cvs:24529
From: shyouhei ruby-lang.org
Date: Sun, 15 Jun 2008 23:06:17 +0900 (JST)
Subject: [ruby-cvs:24529] Ruby:r17303 (ruby_1_8_6): merge revision(s) 16420,16454:
shyouhei 2008-06-15 23:06:16 +0900 (Sun, 15 Jun 2008)
New Revision: 17303
Modified files:
branches/ruby_1_8_6/ChangeLog
branches/ruby_1_8_6/defines.h
branches/ruby_1_8_6/file.c
branches/ruby_1_8_6/version.h
Log:
merge revision(s) 16420,16454:
* file.c (file_expand_path): support for alternative data stream
and ignored trailing garbages of NTFS.
* file.c (rb_file_s_basename): ditto.
* file.c (rb_file_s_extname): ditto.
* 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.
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/ChangeLog?r1=17303&r2=17302&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/version.h?r1=17303&r2=17302&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/file.c?r1=17303&r2=17302&diff_format=u
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8_6/defines.h?r1=17303&r2=17302&diff_format=u