Issue Bug Closed

#94402Don't issue second HTTP request for error handling

Larry Garfield 06/23/21, 21:51 updated 09/07/21, 07:33

Description

PageContentErrorHandler currently uses RequestFactory to send a new for-reals HTTP request for error pages. This is problematic for many reasons. cf https://github.com/pixelant/pxa_lpeh

A previous attempt to fix this issue in core for v10 (https://review.typo3.org/c/Packages/TYPO3.CMS/+/63389) was rolled back (https://review.typo3.org/c/Packages/TYPO3.CMS/+/63308/) because it resulted in infinite recursion in some edge cases. However, many of those edge cases have since been resolved anyway, so it’s worth making another attempt.

Reviews 7