security: enforce CSRF protection on POST/DELETE export endpoints (Closes #171) #187
Reference in New Issue
Block a user
Delete Branch "feature/issue-171-csrf-export-endpoints"
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?
Summary
#[NoCSRFRequired]from 8 POST/DELETE endpoints across ExportController (5 methods), ReportController (1 method), and DsgvoController (2 methods)#[NoCSRFRequired]per Nextcloud conventions@nextcloud/axiosalready sends CSRF tokens automaticallyCsrfProtectionTestthat verifies attribute placement via PHP reflectionAffected Endpoints
Test plan
#[NoCSRFRequired]#[NoCSRFRequired]Closes #171