Bug #83822
closedEXT:form RedirectFinisher breaks HTTP response
100%
Description
This bug may need certain server environment (gzip, keep-alive, proxy) and browser (Android browser, Opera desktop) to reproduce.
When using the redirect finisher of the new form engine, HTTP page breaks and shows gzip compressed data as garbage on the browser.
I suspect this to be a result of HTTP headers somehow broken after the redirect. When looking at the HTTP response I noticed there is a Location header and Content-Lenght is NOT zero as expected.
Setting $this->response->setHeader('Content-Length', '0');
in the redirectToUri
function in RedirectFinisher.php
fixed the problem.
Updated by Gerrit Code Review about 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55816
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55816
Updated by Gerrit Code Review about 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55816
Updated by Gerrit Code Review about 6 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/55849
Updated by Gerrit Code Review about 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56048
Updated by Benjamin Franzke about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 5400029f906105197a68b43f2d5a0812b4ebcaef.
Updated by Ralf Zimmermann about 6 years ago
- Related to Bug #84495: Confirmation finisher duplicate output added
Updated by Ralf Zimmermann about 6 years ago
- Related to Bug #84901: Regression in 8.7.13 for custom form finisher added