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
Posted by Jan Pieper (jpieper) on 2010-11-18T23:44:15.000+0000
Fixed in r23390.
Posted by Ramon Henrique Ornelas (ramon) on 2010-11-28T05:11:55.000+0000
Merged to branch release 1.11 r23451.
Posted by Ramon Henrique Ornelas (ramon) on 2010-11-28T05:13:27.000+0000
Assigned fix version.