[TASK] Move redirect to shortcut and mount point to middleware 86/56886/2
authorHelmut Hummel <typo3@helhum.io>
Tue, 1 May 2018 16:56:05 +0000 (18:56 +0200)
committerBenni Mack <benni@typo3.org>
Thu, 10 May 2018 09:58:04 +0000 (11:58 +0200)
commit1507bfbedccd1f0b8b657a6469106c1377ae042c
tree2c34f1cb34a23941b4e824a5aaab36506a7faee9
parentaf32dfff54de0553ded14c4a8230ebfe1452095c
[TASK] Move redirect to shortcut and mount point to middleware

Instead of using HttpUtility to redirect and exit the program
flow, we now return a proper redirect response in a middleware.

Resolves: #84946
Releases: master
Change-Id: I397790ea1d46ae46ef41bd9c2f03f3aac079d1a4
Reviewed-on: https://review.typo3.org/56886
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: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php
typo3/sysext/frontend/Classes/Http/RequestHandler.php
typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php [new file with mode: 0644]
typo3/sysext/frontend/Configuration/RequestMiddlewares.php