Project

General

Profile

Actions

Feature #82242

closed

replace ###CURRENT_URL### marker in pageNotFound_handling REDIRECT

Added by Philipp Parzer over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2017-08-30
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

It would be nice to have the ###CURRENT_URL### marker, which is used with READFILE, also for REDIRECT

Should be done with adding following statement at line 1980
of TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController :
$code = str_replace('###CURRENT_URL###',GeneralUtility::getIndpEnv('REQUEST_URI'),$code);

Actions #1

Updated by Benni Mack over 5 years ago

  • Status changed from New to Closed

Hi Philipp,

pageNotFoundHandling esp. with redirect is a bad idea, and we finally introduced a new way to build this error handling functionality. As you've seen, with TYPO3 v9.2 you can now ship your own PHP error functionality which comes with "Show Content from this page instead" or "render this fluid template" with all the info you need (incl. multi-language).

The code and functionality you mentioned will be removed in the next major version. Hope the solution with Site Error Handling works for you. If you have further questions, feel free to open up a new ticket!

Thanks,
Benni.

Actions

Also available in: Atom PDF