Issues

ZF-10675: Zend_View_Helper_Json does not enforce replace_header

Description

Zend_View_Helper_Json calls

Zend_Controller_Front::getInstance() ->getResponse() ->setHeader("Conten-type", "application/json")

without the 3rd argument enforced to TRUE, which might lead to duplicate Content-type headers, which in turn might cripple (500) Apache httpd + fastcgi:

FastCGI: comm with server "/srv/http/cgi-bin/virtual-php-fastcgi" aborted: error parsing headers: duplicate header 'Content-Type'

Comments

Fixed in r23390.

Merged to branch release 1.11 r23451.

Assigned fix version.