[TASK] Move frontend pre-process functionality to PSR-15 middleware 37/55537/6
authorBenni Mack <benni@typo3.org>
Sat, 3 Feb 2018 20:53:48 +0000 (21:53 +0100)
committerSusanne Moog <susanne.moog@typo3.org>
Sat, 3 Feb 2018 21:23:34 +0000 (22:23 +0100)
commita1f5a2320cdcf50bf4e5670a191baa116a550310
tree16a0c7c7cfe00724c56ea2b90ad5b831bed00ddc
parentf22792eceea631b8f01fbe0fcbf3e62b52246cad
[TASK] Move frontend pre-process functionality to PSR-15 middleware

This patch moves logic out of the RequestHandlers into PSR-15 compatible
middleware classes to call a hook and initialize the time tracker.

Resolves: #83765
Releases: master
Change-Id: Ibe2435833a8cbf0fb19cfe1fddd519d47147707e
Reviewed-on: https://review.typo3.org/55537
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Tested-by: Mathias Schreiber <mathias.schreiber@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/frontend/Classes/Http/EidRequestHandler.php
typo3/sysext/frontend/Classes/Http/RequestHandler.php
typo3/sysext/frontend/Classes/Middleware/PreprocessRequestHook.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/Middleware/TimeTrackerInitialization.php [new file with mode: 0644]
typo3/sysext/frontend/Configuration/RequestMiddlewares.php [new file with mode: 0644]