Project

General

Profile

Actions

Bug #72299

closed

Wrong CRLF's in GeneralUtility for 'Close connection'

Added by D. Röhrig almost 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-12-17
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
5.6
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The problem was a bug for a 404 page.

I declared a "pageNotFound_handling" to a certain page ('/index.php?id=6') and the TYPO3 core rendered an extra error report (see image).

After debugging I found the reason in GeneralUtility.php (see patch). The line breaks inside quote signs are different to the variable CRLF and too many.

I hope the created patch is correct.


Files

Bildschirmfoto 2015-12-17 um 14.38.20.png (40.3 KB) Bildschirmfoto 2015-12-17 um 14.38.20.png Error D. Röhrig, 2015-12-17 15:10
patch.diff (1.19 KB) patch.diff Patch D. Röhrig, 2015-12-17 15:10
patch.diff (1.2 KB) patch.diff Patch D. Röhrig, 2015-12-17 16:51
typo3_6.2.30_bug_72299_404_fix.diff (867 Bytes) typo3_6.2.30_bug_72299_404_fix.diff Patch for TYPO3 6.2.30 Felix Buenemann, 2017-03-23 16:02
Actions

Also available in: Atom PDF