Project

General

Profile

Actions

Bug #78002

closed

Require cHash for cached plugin actions in Extbase

Added by Stefan Froemken over 7 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
Start date:
2016-09-20
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

As you have seen the discussion with Dmitry Dulepov at twitter reqCHash is only valid for cached plugins: pi_base and also extbase.

Kasper has documented it here:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/frontend/Classes/Plugin/AbstractPlugin.php#L250-L261

In TYPO3 4.5 there was no reqCHash in makeCacheHash. In TYPO3 4.7 it was introduced:
https://review.typo3.org/#/c/4704/

I wonder a bit, because Dmitry wrote "Looks ok to me", so it would be interessting to here why it's not OK today.

Stefan


Related issues 4 (0 open4 closed)

Related to TYPO3 Core - Bug #81297: Extbase record preview leads to 404 due to missing cHashClosed2017-05-22

Actions
Related to TYPO3 Core - Bug #81293: cacheHash fails to be generated because of missing id although id is present in request-stringClosedDavid Bascom2017-05-22

Actions
Related to TYPO3 Core - Bug #95297: cHash not enforced for Extbase actions anymoreClosedOliver Hader2021-09-21

Actions
Precedes TYPO3 Core - Task #85942: Fix a typo and add an example for requireCHashArgumentForActionArgumentsClosed2016-09-212016-09-21

Actions
Actions

Also available in: Atom PDF