mirror of
https://github.com/unraid/webgui.git
synced 2026-04-23 02:31:45 -05:00
Revert "Inhibit arbitrary command execution in Docker post arguments"
This reverts commit 99b76766a0.
This commit is contained in:
@@ -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']];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user