Skip to content

Commit 5d29734

Browse files
committed
Merge branch '5.2' into 5.x
* 5.2: [Console] minor fix [Command] fix emojis messing up the line width [Validator] Avoid triggering the autoloader for user-input values Hardening Security - Unserialize DumpDataCollector Security hardening - Rate limiter [FrameworkBundle] ensure TestBrowserToken::$firewallName is serialized Fixed parsing deprecated definitions without message key improve login throttling rate limiter requirement message [HttpClient] remove using $http_response_header [Security] Handle properly 'auto' option for remember me cookie security
2 parents 470b749 + 2b9f0d4 commit 5d29734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Response/NativeResponse.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ private function open(): void
149149

150150
// Send request and follow redirects when needed
151151
$this->handle = $h = fopen($url, 'r', false, $this->context);
152-
self::addResponseHeaders($http_response_header, $this->info, $this->headers, $this->info['debug']);
152+
self::addResponseHeaders(stream_get_meta_data($h)['wrapper_data'], $this->info, $this->headers, $this->info['debug']);
153153
$url = $resolver($this->multi, $this->headers['location'][0] ?? null, $this->context);
154154

155155
if (null === $url) {

0 commit comments

Comments
 (0)