1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/lib/webrick/httpservlet
normal 646b83af2a webrick/httpservlet/cgi_runner.rb: remove unnecessary open
IO#reopen already takes string path names as well as IO objects
(but not "| command" strings)

This makes further auditing for inadvertant code execution
easier.  There's no actual bugfix or behavior change here,
as no external data is passed to cgi_runner.rb.

* lib/webrick/httpservlet/cgi_runner.rb: remove Kernel#open call
  [Misc #14216]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2017-12-22 01:07:45 +00:00
..
abstract.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
cgi_runner.rb webrick/httpservlet/cgi_runner.rb: remove unnecessary open 2017-12-22 01:07:45 +00:00
cgihandler.rb webrick: filter out HTTP_PROXY for CGIHandler 2016-07-22 16:43:12 +00:00
erbhandler.rb
filehandler.rb Remove unnecessary require 'thread' 2017-10-08 07:00:01 +00:00
prochandler.rb