Actions
Bug #83822
closedEXT:form RedirectFinisher breaks HTTP response
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Form Framework
Target version:
-
Start date:
2018-02-09
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
8
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Remote Sprint
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.
Actions