Actions
Feature #15170
closedAllow WEBrick::HTTPServlet::initialize to accept an array in server[:CGIInterpreter]
Description
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.
Actions
Like0
Like0Like0Like0Like0