coolify/app/Livewire/Project
Andras Bacsai c9922c30c2 fix: add input validation for install/build/start command fields
Add shellSafeCommandRules() validation to install_command, build_command,
and start_command fields in both the Livewire UI and REST API layers.
These fields previously accepted arbitrary strings without validation,
unlike other shell-adjacent fields which already used this pattern.

Also adds comprehensive tests for rejection of dangerous input and
acceptance of legitimate build commands.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 12:28:29 +01:00
..
Application fix: add input validation for install/build/start command fields 2026-03-28 12:28:29 +01:00
Database fix(livewire): add Locked attributes and consolidate container name validation 2026-03-25 20:21:39 +01:00
New fix(git-import): explicitly specify ssh key and remove duplicate validation rules 2026-03-12 14:19:53 +01:00
Resource refactor(breadcrumb): optimize queries and simplify state management 2026-03-20 00:02:18 +01:00
Service fix(storage): use escapeshellarg for volume names in shell commands 2026-03-26 11:06:30 +01:00
Shared fix(livewire): add Locked attributes and consolidate container name validation 2026-03-25 20:21:39 +01:00
AddEmpty.php fix(project): update redirect logic after resource creation to include environment UUID 2025-10-07 20:46:32 +02:00
CloneMe.php fix(clone): update destinations method call to ensure correct retrieval of selected destination 2025-09-18 13:44:56 +02:00
DeleteEnvironment.php refactor(redirect): replace redirect calls with redirectRoute helper for consistency 2025-12-26 13:29:59 +01:00
DeleteProject.php refactor(redirect): replace redirect calls with redirectRoute helper for consistency 2025-12-26 13:29:59 +01:00
Edit.php feat(validation): centralize validation patterns for names and descriptions 2025-08-19 12:14:48 +02:00
EnvironmentEdit.php refactor(redirect): replace redirect calls with redirectRoute helper for consistency 2025-12-26 13:29:59 +01:00
Index.php refactor: replace queries with cached versions for performance improvements 2025-12-08 13:39:33 +01:00
Show.php refactor(redirect): replace redirect calls with redirectRoute helper for consistency 2025-12-26 13:29:59 +01:00