Actions
Bug #14429
closedOverzealous escaping of + in Shellwords
Bug #14429:
Overzealous escaping of + in Shellwords
Description
Files
Actions
Added by woodruffw (William Woodruff) over 8 years ago. Updated almost 7 years ago.
Description
Files
| shellwords-plus.patch (1.45 KB) shellwords-plus.patch | jeremyevans0 (Jeremy Evans), 06/20/2019 08:26 PM |
Ping (and confirming that this is still the case on 2.5.1p57).
While the current code is not really a bug (Shellwords.escape does not guarantee to only escape when required), I agree it makes sense not to escape +. From what I read, in addition to Bourne sh, neither bash nor ksh require escaping +. Attached is a patch that removes the escaping.
Applied in changeset git|43a16c98df392e726040f0331a3e09d00c53d513.
Do not escape + in Shellwords.escape
Fixes [Bug #14429]