fix: Placeholder resolution display + CSRF token on Run Backup button #125
Reference in New Issue
Block a user
Delete Branch "fix/placeholder-resolution-display"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Two fixes
1. Placeholder resolution display
Below the Backup Directory input, shows badges for each placeholder in use with its resolved value:
[HOME] = /home/mokoconsulting_dev[host] = suite.dev.mokoconsulting.techResolves to: /home/.../backups2. CSRF token fix for Run Backup button
The "Run Backup Now" button on profile edit sends the CSRF token as a GET parameter (link button).
BackupsController::start()was using$this->checkToken()which only checks POST. Now checks both GET and POST.Test Plan
[HOME]/backups→ see resolved values below