diff options
author | Shane Bradley <sbradley@redhat.com> | 2016-01-29 12:06:17 -0500 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-02-01 16:52:39 +0000 |
commit | 04d412816de2e4053f43956adf536272a2ddc19c (patch) | |
tree | 41857f013d3632a59327cc66ae658f0dfa57b7eb /sos.spec | |
parent | 94350cc0de2c63632f0e7aa04730b991d21bde7f (diff) | |
download | sos-04d412816de2e4053f43956adf536272a2ddc19c.tar.gz |
[utilities] Support glob expansion in command arguments
Historically, when calling an external process, sos relied on the
use of a shell to perform glob expansion on arguments passed to
the command.
This potentially exposes sos and its children to the entire gamut
of shell expansion and all the problems associated with it and
this is part of the reason that use of a shell in callouts was
disabled in commit 46b6c3d (Issue #253).
While full shell syntax is undesirable for many reasons the use
of globs to express path arguments to external commands is very
useful and widely applied: restore this limited support for
shell-like syntax using the python glob.glob module and expand
any argument that is a valid glob into its resulting arguments.
Fixes: #752
Signed-off-by: Shane Bradley <sbradley@redhat.com>
Diffstat (limited to 'sos.spec')
0 files changed, 0 insertions, 0 deletions