Project

General

Profile

Actions

Bug #21875

closed

disableAllHeaderCode don't works withhout explizit usage of disableCharsetHeader

Added by Maik Preuß almost 15 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-12-22
Due date:
% Done:

0%

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

Description

without 'disableCharsetHeader = 1' a 'Content-Type' header will be generated regardless of 'disableAllHeaderCode'.

This disables the dynamic usage of header('Content-Type: ...) in extensions.

A workaround is to add
'disableCharsetHeader = 1' to the page.config
or to modify 'typo3\sysext\cms\tslib\class.tslib_fe.php:3374'.

if (!$this->config['config']['disableCharsetHeader']) {

=>

if (!$this->config['config']['disableCharsetHeader'] && !$this->config['config']['disableAllHeaderCode']) {

(issue imported from #M13078)


Files

13078.png (33.5 KB) 13078.png Administrator Admin, 2009-12-25 10:39
Actions

Also available in: Atom PDF