Skip to content

Commit 26902c0

Browse files
committed
fix: remove shell argument sanitization for theme code
1 parent 1e54d39 commit 26902c0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/Service/StaticContentDeployer.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,9 @@ public function deploy(
4949
$io->text('Deploying static content...');
5050
}
5151

52-
$sanitizedThemeCode = escapeshellarg($themeCode);
5352
$shellOutput = $this->shell->execute(
5453
"php bin/magento setup:static-content:deploy -t %s -f --quiet",
55-
[$sanitizedThemeCode]
54+
[$themeCode]
5655
);
5756

5857
if ($isVerbose) {

0 commit comments

Comments
 (0)