Revert "Inhibit arbitrary command execution in Docker post arguments"

This reverts commit 99b76766a0.
This commit is contained in:
bergware
2018-03-16 20:15:19 +01:00
parent 99b76766a0
commit dab47cb568
@@ -433,7 +433,7 @@ function xmlToCommand($xml, $create_paths=false) {
implode(' --device=', $Devices),
$xml['ExtraParams'],
escapeshellarg($xml['Repository']),
escapeshellarg($xml['PostArgs']));
$xml['PostArgs']);
return [preg_replace('/\s+/', ' ', $cmd), $xml['Name'], $xml['Repository']];
}