coolify/app/Actions/Database
Andras Bacsai f0e955bf45 refactor(database): escape postgres_user in SSL chown command
Apply escapeshellarg() to the Postgres username before interpolating it
into the chown command used to fix SSL certificate ownership, matching
the handling already in place for StartMysql. This keeps the sink-side
escaping consistent across database actions, independent of upstream
input validation.

Also adjusts an assertion in DatabaseSslCredentialEscapingTest to match
the actual double-escaped output of executeInDocker, and adds Postgres
regression cases for subshell and semicolon payloads.
2026-04-20 21:41:48 +02:00
..
RestartDatabase.php
StartClickhouse.php
StartDatabase.php
StartDatabaseProxy.php
StartDragonfly.php
StartKeydb.php
StartMariadb.php
StartMongodb.php
StartMysql.php
StartPostgresql.php refactor(database): escape postgres_user in SSL chown command 2026-04-20 21:41:48 +02:00
StartRedis.php
StopDatabase.php
StopDatabaseProxy.php