mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 00:17:16 +00:00
Merge branch 'ghsa-mw5w-2vvh-mgf4-investigation'
This commit is contained in:
commit
d174724bf6
8 files changed
+165
-6
No files matched your search
@@ -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';
|
||||
|
||||
Reference in new issue
Block a user