Merge branch 'ghsa-mw5w-2vvh-mgf4-investigation'

This commit is contained in:
Andras Bacsai committed 2026-03-10 22:22:51 +01:00
commit d174724bf6
8 files changed
+165 -6

No files matched your search

+2 -1
View File
@@ -1686,7 +1686,8 @@ class Application extends BaseModel
protected function buildGitCheckoutCommand($target): string
{
$command = "git checkout $target";
$escapedTarget = escapeshellarg($target);
$command = "git checkout {$escapedTarget}";
if ($this->settings->is_git_submodules_enabled) {
$command .= ' && git submodule update --init --recursive';