From: remi.lapeyre@... Date: 2018-09-27T15:54:16+00:00 Subject: [ruby-core:89191] [Ruby trunk Bug#15170] Allow WEBrick::HTTPServlet::initialize to accept an array in server[:CGIInterpreter] Issue #15170 has been reported by remi.lapeyre (R��mi Lapeyre). ---------------------------------------- Bug #15170: Allow WEBrick::HTTPServlet::initialize to accept an array in server[:CGIInterpreter] https://bugs.ruby-lang.org/issues/15170 * Author: remi.lapeyre (R��mi Lapeyre) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN, 2.5: UNKNOWN ---------------------------------------- There is currently no nice way to give WEBrick::HTTPServlet a command with arguments as an array. This force scripts to escape the paths to the given command. One way to let people specify either a string or an array of strings would be to set `cgicmd` as a string or an array based on the type of `server[:CGIInterpreter]`. This should be a backward compatible change if I understand the code correctly. I never wrote Ruby but could try to submit a pull request if you think this change could be a good idea. -- https://bugs.ruby-lang.org/ Unsubscribe: