1
0
Fork 0
mirror of synced 2024-06-02 10:54:44 +12:00

fix(install): escape shell args

This commit is contained in:
Torsten Dittmann 2021-07-15 18:12:18 +02:00
parent 3fbdf88080
commit 6e69b0a82b

View file

@ -129,7 +129,7 @@ $cli
$httpsPort = Console::confirm('Choose your server HTTPS port: (default: '.$defaultHTTPSPort.')');
$httpsPort = ($httpsPort) ? $httpsPort : $defaultHTTPSPort;
}
$input = [];
foreach($vars as $key => $var) {
@ -196,7 +196,7 @@ $cli
foreach ($input as $key => $value) {
if($value) {
$env .= $key.'='.$value.' ';
$env .= $key.'='.\escapeshellarg($value).' ';
}
}