8000 minor #35148 [HttpClient] fix typo (nicolas-grekas) · symfony/symfony@3a51e01 · GitHub
[go: up one dir, main page]

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 3a51e01

Browse files
minor #35148 [HttpClient] fix typo (nicolas-grekas)
This PR was merged into the 4.3 branch. Discussion ---------- [HttpClient] fix typo | Q | A | ------------- | --- | Branch? | 4.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- 3a25878 [HttpClient] fix typo
2 parents f3d8fd2 + 3a25878 commit 3a51e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/HttpClient/NativeHttpClient.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,7 @@ private static function createRedirectResolver(array $options, string $host, ?ar
340340
});
341341

342342
if (isset($options['normalized_headers']['authorization']) || isset($options['normalized_headers']['cookie'])) {
343-
$redirectHeaders['no_auth'] = array_filter($options['headers'], static function ($h) {
343+
$redirectHeaders['no_auth'] = array_filter($redirectHeaders['no_auth'], static function ($h) {
344344
return 0 !== stripos($h, 'Authorization:') && 0 !== stripos($h, 'Cookie:');
345345
});
346346
}

0 commit comments

Comments
 (0)
0