Issue Bug Closed

#21875disableAllHeaderCode don't works withhout explizit usage of disableCharsetHeader

Maik Preuß 12/22/09, 14:50 updated 09/10/13, 09:07

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.