Skip to content
Snippets Groups Projects
Commit da314b2f authored by Helmut Hummel's avatar Helmut Hummel Committed by Andreas Fernandez
Browse files

[BUGFIX] Make ExtDirect route public

The ExtDirect routes currently have a unique session CSRF token, which
makes caching of these routes impossible.

Since these routes are protected by an individual CSRF token (TYPO3.ExtDirectToken),
We can simply define this route as public to avoid caching issues.

Resolves: #70424
Related: #69916
Releases: master
Change-Id: I0ad018cc80913ea40fc00b88322ee59e24c17799
Reviewed-on: http://review.typo3.org/43843


Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
Tested-by: default avatarAndreas Fernandez <typo3@scripting-base.de>
parent c0ec5d69
Branches
Tags
No related merge requests found
......@@ -136,7 +136,8 @@ return [
// ExtDirect routing
'ext_direct_route' => [
'path' => '/ext-direct/route',
'target' => \TYPO3\CMS\Core\ExtDirect\ExtDirectRouter::class . '::routeAction'
'target' => \TYPO3\CMS\Core\ExtDirect\ExtDirectRouter::class . '::routeAction',
'access' => 'public'
],
// ExtDirect API
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment