Fixed: POST method enforcement on REST dispatch endpoint #89
Reference in New Issue
Block a user
Delete Branch "%!s()"
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?
Fixed in commit
8dd6fddSeverity: Critical
What was wrong:
DispatchController accepted any HTTP method. A GET request could trigger cross-posting.
Fix applied:
Added POST method check at the top of
dispatch(), returns 405 for non-POST requests.Files:
DispatchController.phpLabel:
priority: critical,status: pending-testingBranch created:
feature/89-fixed-post-method-enforcement-on-rest-di