#94402Don't issue second HTTP request for error handling
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
- main 83947[BUGFIX] Use Guzzle request to fetch external error page content
- 12.4 83978[BUGFIX] Use Guzzle request to fetch external error page content
- main 75796[!!!][TASK] Enable internal subrequests for error pages
- main 72184[BUGFIX] Make external page error handling work again
- main 71563[BUGFIX] Use correct method call for getStatusCode
- main 71107[TASK] Disable sub-request error pages by default
- main 69547[FEATURE] Fetch error pages via subrequests instead of HTTP
Related issues 9
- Feature #88361Site error handling: "Show content from page" for 404 should render page directly
- Bug #93521Available cookies from previous request are lost, after being redirected to an error page by the PageContentErrorHandler
- Bug #95174pageNotFoundAction not working properly in Extbase with feature toggle subrequestPageErrors turned on
- Task #95253Make in-process subrequests opt-in
- Bug #95586PageNotFound handling doesn't work in debug mode
- Bug #95940Error on random urls which should show 404 page
- Task #98396Enable internal subrequests for error pages by default
- Bug #103399TYPO3 12.4.12 - PHP 8.3.3 – 404 Redirects in site handling not possible for external URL
- Bug #107515Page error handler subrequest: Desired storage "XXX" is not in the list of available storages