Actions
Bug #14429
closedOverzealous escaping of + in Shellwords
Description
The Shellwords
module is currently a little too conservative: +
isn't a token in Bourne sh1, but Shellwords
escapes it anyways.
Actual:
>> Shellwords.escape 'foo+bar' #=> "foo\\+bar"
Expected:
>> Shellwords.escape 'foo+bar' #=> "foo+bar"
I'm reporting this on ruby 2.4.3, but it looks like ruby-trunk is also affected2.
Files
Actions
Like0
Like0Like0Like0