10000 [HttpClient] fix typo · symfony/symfony@3a25878 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a25878

Browse files
[HttpClient] fix typo
1 parent f3d8fd2 commit 3a25878

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