Project

General

Profile

Actions

Bug #83822

closed

EXT:form RedirectFinisher breaks HTTP response

Added by Joonas Kauhanen over 6 years ago. Updated over 5 years ago.

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.


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #84495: Confirmation finisher duplicate outputClosed2018-03-20

Actions
Related to TYPO3 Core - Bug #84901: Regression in 8.7.13 for custom form finisherClosedFrank Nägler2018-04-30

Actions
Actions

Also available in: Atom PDF