[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>
Showing
- typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php 59 additions, 10 deletions...ntend/Classes/Controller/TypoScriptFrontendController.php
- typo3/sysext/frontend/Classes/Http/RequestHandler.php 0 additions, 4 deletionstypo3/sysext/frontend/Classes/Http/RequestHandler.php
- typo3/sysext/frontend/Classes/Middleware/ShortcutAndMountPointRedirect.php 59 additions, 0 deletions...tend/Classes/Middleware/ShortcutAndMountPointRedirect.php
- typo3/sysext/frontend/Configuration/RequestMiddlewares.php 9 additions, 0 deletionstypo3/sysext/frontend/Configuration/RequestMiddlewares.php
Please register or sign in to comment