Skip to content
Snippets Groups Projects
Commit 88122436 authored by Benni Mack's avatar Benni Mack Committed by Oliver Hader
Browse files

[BUGFIX] Make external page error handling work again

In recent TYPO3 v11.5.x versions, the error handling for Frontend
pages did cache the external PSR-7 Response (by guzzle) in the
pages cache. However, if the error page was fetched the second time,
the Response object from the cache did not have a valid stream anymore,
thus resulting in an array.

This change now caches the body + headers for the page (still, only
when a 200 response code was returned), and re-builds a clean Response
object.

Resolves: #95940
Related: #95586
Related: #94402
Releases: master
Change-Id: I27aaffe8acda275fd3450f9479e19a3f21d22df6
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/72184


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarOliver Hader <oliver.hader@typo3.org>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Hader <oliver.hader@typo3.org>
parent 08669c3f
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment