coolify/app/Livewire/Project/Database
Andras Bacsai 99043600ee fix(backup): validate MongoDB collection names in backup input
Add validateDatabasesBackupInput() helper that properly parses all
database backup formats including MongoDB's "db:col1,col2|db2:col3"
and validates each component individually.

- Validate and escape collection names in DatabaseBackupJob
- Replace comma-only split in BackupEdit with format-aware validation
- Add input validation in API create_backup and update_backup endpoints
- Add unit tests for collection name and multi-format validation

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-25 16:52:06 +01:00
..
Backup Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
Clickhouse fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
Dragonfly fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
Keydb fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
Mariadb fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
Mongodb fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
Mysql fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
Postgresql fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
Redis fix: address review feedback on proxy timeout 2026-02-27 14:24:04 -08:00
BackupEdit.php fix(backup): validate MongoDB collection names in backup input 2026-03-25 16:52:06 +01:00
BackupExecutions.php feat(livewire): add selectedActions parameter and error handling to delete methods 2026-03-11 15:04:45 +01:00
BackupNow.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00
Configuration.php Merge branch 'next' into andrasbacsai/livewire-model-binding 2025-10-16 11:05:29 +02:00
CreateScheduledBackup.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00
Heading.php refactor(jobs): split task skip checks into critical and runtime phases 2026-02-28 18:37:51 +01:00
Import.php fix(database): close confirmation modal after import/restore 2026-03-01 14:45:55 +03:00
InitScript.php Revert "rector: arrrrr" 2025-01-07 15:31:43 +01:00
ScheduledBackups.php feat(auth): implement authorization checks for database management 2025-08-23 18:50:35 +02:00