Merge pull request #1398 from TorstenDittmann/fix-install-shell-args

fix(install): escape shell args
This commit is contained in:
Eldad A. Fux 2021-07-16 06:32:11 +03:00 committed by GitHub
commit 564324ff1c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -196,7 +196,7 @@ $cli
foreach ($input as $key => $value) { foreach ($input as $key => $value) {
if($value) { if($value) {
$env .= $key.'='.$value.' '; $env .= $key.'='.\escapeshellarg($value).' ';
} }
} }