Skip to content

Commit 2b9f0d4

Browse files
Merge branch '4.4' into 5.2
* 4.4: [Console] minor fix [Validator] Avoid triggering the autoloader for user-input values Hardening Security - Unserialize DumpDataCollector [HttpClient] remove using $http_response_header [Security] Handle properly 'auto' option for remember me cookie security
2 parents c7d1f35 + c579254 commit 2b9f0d4

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)