[TASK] Use $tsfe->type for generating the redirect URL 87/58087/3
authorBenni Mack <benni@typo3.org>
Thu, 30 Aug 2018 13:22:22 +0000 (15:22 +0200)
committerOliver Hader <oliver.hader@typo3.org>
Thu, 30 Aug 2018 17:09:22 +0000 (19:09 +0200)
commit454dfb7598898429a971dcdcaae508c0787a4d24
tree3f2ff69675257674956aad8fc0510513e1159950
parenta6491e39adc19199192b4252c3860de7bc269e1c
[TASK] Use $tsfe->type for generating the redirect URL

At the point where TSFE creates a Redirect URL for shortcuts,
$type should be used from the normalized $tsfe->type property
and not from the GET variable directly, as this could have been modified
by a hook already.

Resolves: #86040
Releases: master
Change-Id: I87503570ca257d10ebca3a9056213ae5a5354764
Reviewed-on: https://review.typo3.org/58087
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Daniel Sattler <sattler@b13.de>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php