Zend Framework

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

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.10.4
  • Fix Version/s: 1.11.0
  • Component/s: Zend_Controller
  • Labels:
    None

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".

Activity

Hide
Bradley Holt added a comment -

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

Show
Bradley Holt added a comment - A patch to make Zend_Controller_Request_Http::getHeader() case insensitive.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: