diff options
author | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-22 01:07:55 +0000 |
---|---|---|
committer | normal <normal@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-22 01:07:55 +0000 |
commit | 1989371d10bccc2a1e6e9b31bd17992899870372 (patch) | |
tree | b313e57f41085aabee8e69605fb2bc9d0d75fd11 /lib/webrick/httpservlet/filehandler.rb | |
parent | 1895a4885615320ddbf8e610fa89569c0929ef73 (diff) |
webrick: WEBrick::Log requires path arg when given string
Allowing a user to specify "| command" via Kernel#open is
nonsensical since we never read from the resultant IO.
* lib/webrick/log.rb (initialize): replace Kernel#open with File.open
[Misc #14216]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/webrick/httpservlet/filehandler.rb')
0 files changed, 0 insertions, 0 deletions