diff options
author | Bryn M. Reeves <bmr@redhat.com> | 2016-07-08 18:59:21 +0100 |
---|---|---|
committer | Bryn M. Reeves <bmr@redhat.com> | 2016-07-08 18:59:21 +0100 |
commit | d8365090b21c451894b49771959653683caf0f6e (patch) | |
tree | 7540b85d9f2f85a0ca38b539061dbfdc6ccd9227 /setup.py | |
parent | ba2a2016a3f3c383b265a99deff8867d0d26ea56 (diff) | |
download | sos-d8365090b21c451894b49771959653683caf0f6e.tar.gz |
[networking] single quote innermost strings in nmcli commands
Network Manager names may contain embedded quotes (" and '). These will
cause an exception in shlex.split() if the quotes are unbalanced. This
may happen with names like: "Foobar's Wireless Network". Although the
problen will occur for both single and double quote characters the
former is considerably more likely in object names since it is
syntactically valid in many human languages.
Reverse the normal sos quoting convention here and place double quotes
around the innermost quoted string.
RHBZ# 1353992
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions