8000 merged branch jalliot/header-bag (PR #3702) · symfony/symfony@51eac4b · GitHub
[go: up one dir, main page]

Skip to content

Commit 51eac4b

Browse files
committed
merged branch jalliot/header-bag (PR #3702)
Commits ------- 15dd17e Simplified CONTENT_ headers retrieval Discussion ---------- Header bag Bug fix: yes Feature addition: no Backwards compatibility break: no Symfony2 tests pass: yes (actually no but I think this has nothing to do with this PR...) Fixes the following tickets: - Todo: -
2 parents 42b8c7a + 15dd17e commit 51eac4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpFoundation/ServerBag.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function getHeaders()
2828
}
2929
// CONTENT_* are not prefixed with HTTP_
3030
elseif (in_array($key, array('CONTENT_LENGTH', 'CONTENT_MD5', 'CONTENT_TYPE'))) {
31-
$headers[$key] = $this->parameters[$key];
31+
$headers[$key] = $value;
3232
}
3333
}
3434

0 commit comments

Comments
 (0)
0