Opened 4 years ago
Last modified 4 years ago
#32311 closed New feature
Add system check for CSRF_FAILURE_VIEW setting — at Version 1
Reported by: | Adam Johnson | Owned by: | nobody |
---|---|---|---|
Component: | Core (System checks) | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
Check #29642 added checks for the custom 400, 404, etc. error views. Similarly, a check should be added to ensure that the custom CSRF failure view as configured in the CSRF_FAILURE_VIEW setting exists and has the right function signature. There's otherwise no verification that it's well configured, and it will only fail when a CSRF error occurs.
Note:
See TracTickets
for help on using tickets.