Skip to content

Commit

Permalink
[RequestHandler] fixed request headers
Browse files Browse the repository at this point in the history
  • Loading branch information
fabpot committed Apr 23, 2010
1 parent f8e2c3b commit 8d8afd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Components/RequestHandler/Request.php
Expand Up @@ -759,7 +759,7 @@ protected function initializeHeaders()
$headers = array();
foreach ($this->server->all() as $key => $value)
{
if ('HTTP_' === substr($key, 0, 5))
if (strtolower('HTTP_') === strtolower(substr($key, 0, 5)))
{
$headers[strtoupper(strtr(substr($key, 5), '-', '_'))] = $value;
}
Expand Down

0 comments on commit 8d8afd9

Please sign in to comment.