Commit dcd8d01f authored by Robert Ricci's avatar Robert Ricci
Browse files

Escape the shell arguments individually, instead of as a group - doing

the latter gives us one big argument with spaces, etc. escaped.
parent b0999364
......@@ -3263,7 +3263,7 @@ class node:
argstr = escapeshellarg(argdict["op"])
argstr += " " + filename
argstr += " " + escapeshellarg(" ".join(argdict["nodes"]))
argstr += " " + " ".join(map(escapeshellarg,argdict["nodes"]))
(exitval, output) = runcommand(TBDIR + "/bin/tbuisp " + argstr)
if exitval:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment