This release removes uses of Kernel#open to avoid unintended
behaviors and make future auditing easier. [Misc #14216]

6 changes since 1.4.1:

      webrick: httpauth requires regular files
      webrick/httpservlet/cgi_runner.rb: remove unnecessary open
      webrick: WEBrick::Log requires path arg when given string
      webrick/httpservlet/*handler: use File.open
      webrick/httputils: note Kernel#open behavior
      webrick/httpservelet/cgi_runner: avoid IO#reopen on pathname

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
normal 2017-12-24 08:38:43 +00:00
Родитель 1b0b42dbd9
Коммит 7d10b978c3
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -14,5 +14,5 @@ module WEBrick
##
# The WEBrick version
VERSION = "1.4.1"
VERSION = "1.4.2"
end

Просмотреть файл

@ -4,7 +4,7 @@ require_relative 'version'
Gem::Specification.new do |s|
s.name = "webrick"
s.version = WEBrick::VERSION
s.date = '2017-12-18'
s.date = '2017-12-24'
s.summary = "HTTP server toolkit"
s.description = "WEBrick is an HTTP server toolkit that can be configured as an HTTPS server, a proxy server, and a virtual-host server."