Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2dfac2a

Browse filesBrowse files
committed
fixed typo
1 parent f455700 commit 2dfac2a
Copy full SHA for 2dfac2a

File tree

3 files changed

+3
-3
lines changed
Filter options

3 files changed

+3
-3
lines changed

‎src/Symfony/Component/HttpFoundation/ServerBag.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpFoundation/ServerBag.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function getHeaders()
2424
$headers = array();
2525
foreach ($this->parameters as $key => $value) {
2626
if ('HTTP_' === substr($key, 0, 5)) {
27-
$headers[strtolower(substr($key, 5))] = $value;
27+
$headers[substr($key, 5)] = $value;
2828
}
2929
}
3030

‎src/Symfony/Component/HttpKernel/bootstrap.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/bootstrap.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ public function getHeaders()
954954
$headers = array();
955955
foreach ($this->parameters as $key => $value) {
956956
if ('HTTP_' === substr($key, 0, 5)) {
957-
$headers[strtolower(substr($key, 5))] = $value;
957+
$headers[substr($key, 5)] = $value;
958958
}
959959
}
960960
return $headers;

‎src/Symfony/Component/HttpKernel/bootstrap_cache.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/HttpKernel/bootstrap_cache.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1180,7 +1180,7 @@ public function getHeaders()
11801180
$headers = array();
11811181
foreach ($this->parameters as $key => $value) {
11821182
if ('HTTP_' === substr($key, 0, 5)) {
1183-
$headers[strtolower(substr($key, 5))] = $value;
1183+
$headers[substr($key, 5)] = $value;
11841184
}
11851185
}
11861186
return $headers;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.