8000 [HttpClient] Explicitly exclude CURLOPT_POSTREDIR · symfony/symfony@c90e20f · GitHub
[go: up one dir, main page]

Skip to content

Commit c90e20f

Browse files
[HttpClient] Explicitly exclude CURLOPT_POSTREDIR
1 parent cc42fa7 commit c90e20f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Symfony/Component/HttpClient/CurlHttpClient.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ private function validateExtraCurlOptions(array $options): void
469469
\CURLOPT_TIMEOUT_MS => 'max_duration',
470470
\CURLOPT_TIMEOUT => 'max_duration',
471471
\CURLOPT_MAXREDIRS => 'max_redirects',
472+
\CURLOPT_POSTREDIR => 'max_redirects',
472473
\CURLOPT_PROXY => 'proxy',
473474
\CURLOPT_NOPROXY => 'no_proxy',
474475
\CURLOPT_SSL_VERIFYPEER => 'verify_peer',

0 commit comments

Comments
 (0)
0