Skip to content

Commit

Permalink
Update lib/internal/Magento/Framework/HTTP/Client/Curl.php
Browse files Browse the repository at this point in the history
Co-authored-by: Ihor Sviziev <ihor-sviziev@users.noreply.github.com>
  • Loading branch information
pmzandbergen and ihor-sviziev authored Jul 29, 2020
1 parent 44d88e6 commit ba6513f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/Magento/Framework/HTTP/Client/Curl.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ protected function parseHeaders($ch, $data)
}

if (strlen($name)) {
if ("set-cookie" == strtolower($name)) {
if ("set-cookie" === strtolower($name)) {
if (!isset($this->_responseHeaders['Set-Cookie'])) {
$this->_responseHeaders['Set-Cookie'] = [];
}
Expand Down

0 comments on commit ba6513f

Please sign in to comment.