Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Reverted a part of f5e7f2481916d32d5e51b4f01a2deced78b81549

  • Loading branch information...
commit c31f02fecbc5f9836398afedcd254097f3a52869 1 parent 5f5b95c
@pborreli pborreli authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ServerBag.php
View
2  ServerBag.php
@@ -30,7 +30,7 @@ public function getHeaders()
$headers = array();
$contentHeaders = array('CONTENT_LENGTH' => true, 'CONTENT_MD5' => true, 'CONTENT_TYPE' => true);
foreach ($this->parameters as $key => $value) {
- if ('HTTP_' === substr($key, 0, 5)) {
+ if (0 === strpos($key, 'HTTP_')) {
$headers[substr($key, 5)] = $value;
}
// CONTENT_* are not prefixed with HTTP_
Please sign in to comment.
Something went wrong with that request. Please try again.