Bug #42083
CSRF token is not appended for actions with mixed case characters
Status:
Resolved
Priority:
Must have
Assignee:
Category:
Security
Target version:
Start date:
2012-10-17
Due date:
% Done:
100%
Estimated time:
PHP Version:
Has patch:
No
Complexity:
Description
Since the update (I don't know what exactly broke this), the CrsfProtectionAspect
no longer appends the CSRF token when the target action contains uppercase characters (e.g. someSpecialAction
).
The reason is, that in the aspect the action method name is retrieved all lowercase thus ReflectionService::hasMethod($className, $actionMethodName)
returns FALSE if $actionMethodName is not correctly cased.
Related issues
Updated by Gerrit Code Review over 8 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/15765
Updated by Pankaj Lele over 8 years ago
You may also relate this bug to earlier reported similar bug #41524 Thanks
Updated by Bastian Waidelich over 8 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 9ea304b4531e404112ae9c189554ef73057fa05b.