Skip to content
Snippets Groups Projects
Commit 485af2b6 authored by Benni Mack's avatar Benni Mack
Browse files

[FEATURE] Introduce ModifyFileDumpEvent

A new PSR-14 based event "ModifyFileDumpEvent" is
introduced in favor of the existing
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['FileDumpEID.php']['checkFileAccess']
hook, which is now marked as deprecated, along with
its interface "FileDumpEIDHookInterface".

In contrast to the hook, the new event also contains
the PSR-7 Request and additionally allows to replace
the file, being dumped.

Resolves: #95080
Releases: master
Change-Id: Idbb0f2f38678c12e752e2255aa71853362f8cc46
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/70865


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarWouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent e6e789e6
Branches
Tags
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