Skip to content

Commit

Permalink
Escape shell command before processing by Symfony StringInput (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
cmuench committed Jan 30, 2024
1 parent 0317cc7 commit 18c8a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/N98/Magento/Command/MagentoCoreProxyCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
{
$config = $this->getCommandConfig();

$magentoCoreCommandInput = new FilteredStringInput($input->__toString());
$magentoCoreCommandInput = new FilteredStringInput(escapeshellcmd($input->__toString()));
$envVariablesForBinMagento = $_ENV;

if ($config['is_env_variables_filtering_enabled'] === true) {
Expand Down

0 comments on commit 18c8a34

Please sign in to comment.