0264c24743
- Added checks for safe filename to prevent directory traversal attacks. - Updated file type validation to use the sanitized filename. - Implemented path resolution to ensure uploaded files are within the backup directory.