summaryrefslogtreecommitdiff
path: root/test/webrick/test_filehandler.rb
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2019-08-26 21:41:27 -0700
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-11-30 17:48:15 +0900
commitc75100d00401c32b3245ce8da5b8a045976216ca (patch)
tree6f7d753792c8971922672e99ede844d5b4af879a /test/webrick/test_filehandler.rb
parentf7cf5416e471cd34153058952063da3457468e58 (diff)
[ruby/webrick] Allow WEBrick::HTTPServlet::CGIHandler :CGIInterpreter option to be array
This way you don't need to escape each entry. Implements Ruby Feature 15170. https://github.com/ruby/webrick/commit/d8086e600c
Diffstat (limited to 'test/webrick/test_filehandler.rb')
-rw-r--r--test/webrick/test_filehandler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/webrick/test_filehandler.rb b/test/webrick/test_filehandler.rb
index 4526b1e30a..b3f0de2621 100644
--- a/test/webrick/test_filehandler.rb
+++ b/test/webrick/test_filehandler.rb
@@ -289,7 +289,7 @@ class WEBrick::TestFileHandler < Test::Unit::TestCase
return if File.executable?(__FILE__) # skip on strange file system
config = {
- :CGIInterpreter => TestWEBrick::RubyBin,
+ :CGIInterpreter => TestWEBrick::RubyBinArray,
:DocumentRoot => File.dirname(__FILE__),
:CGIPathEnv => ENV['PATH'],
:RequestCallback => Proc.new{|req, res|