Issues

ZF-9845: Zend_Controller_Request_Http::getHeader() is case sensitive for some HTTP headers

Issue Type: Bug Created: 2010-05-16T19:29:11.000+0000 Last Updated: 2010-05-20T12:25:42.000+0000 Status: Resolved Fix version(s): - 1.11.0 (02/Nov/10)

Reporter: Bradley Holt (bradley.holt) Assignee: Bradley Holt (bradley.holt) Tags: - Zend_Controller

Related issues: Attachments: - ZF-9845.patch

Description

Zend_Controller_Request_Http::getHeader() is case sensitive for some HTTP headers although HTTP headers are case insensitive according to RFC 2616. Case sensitive headers include all those that are not in the $_SERVER superglobal variable such as "Content-Type" and "Content-Length".

Comments

Posted by Bradley Holt (bradley.holt) on 2010-05-16T19:40:17.000+0000

A patch to make Zend_Controller_Request_Http::getHeader() case insensitive.

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts