Problem/Motivation

CSRFTokenAccessCheck::access() returns AccessResult::forbidden() without specifying the reason, making difficult finding the reason of 'Access denied' result

Proposed resolution

Following 3.x practice, return 'CSRF validation failed' as a reason of Access Denied response

Remaining tasks

Right the patch

User interface changes

No UI changes

API changes

No API changes

Data model changes

No data model changes

CommentFileSizeAuthor
#2 2830421.patch592 bytesvalthebald

Comments

valthebald created an issue. See original summary.

valthebald’s picture

StatusFileSize
new592 bytes
valthebald’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: 2830421.patch, failed testing.

The last submitted patch, 2: 2830421.patch, failed testing.

kylebrowning’s picture

Status: Needs work » Reviewed & tested by the community

Loove it..

kylebrowning’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.