diff --git a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php index 0ae349d789da68218f7aef526842916a66abdb28..cf5b6ccdd907e4374e2fac5144eceac027bb104c 100644 --- a/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php +++ b/typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php @@ -2952,8 +2952,11 @@ class TypoScriptFrontendController { } $redirectUrl = $cObj->typoLink_URL(array('parameter' => $parameter)); - // redirect and exit - HttpUtility::redirect($redirectUrl, HttpUtility::HTTP_STATUS_307); + // Prevent redirection loop + if (!empty($redirectUrl)) { + // redirect and exit + HttpUtility::redirect($redirectUrl, HttpUtility::HTTP_STATUS_307); + } } /********************************************