Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C CMS
  • Project information
    • Project information
    • Activity
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Graph
    • Compare
    • Locked Files
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • typo3typo3
  • CI
  • CMS
  • Repository
Switch branch/tag
  • cms
  • ..
  • Hook
  • FileDumpEIDHookInterface.php
Find file BlameHistoryPermalink
  • Benni Mack's avatar
    [FEATURE] Introduce ModifyFileDumpEvent · 485af2b6
    Benni Mack authored Sep 02, 2021
    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: core-ci's avatarcore-ci <typo3@b13.com>
    Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Tested-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Tested-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
    Reviewed-by: Wouter Wolters's avatarWouter Wolters <typo3@wouterwolters.nl>
    Reviewed-by: Benni Mack's avatarBenni Mack <benni@typo3.org>
    485af2b6