Skip to content

Commit

Permalink
Fix bug in cookie handling on second requests
Browse files Browse the repository at this point in the history
  • Loading branch information
srjlewis committed May 30, 2020
1 parent c2c720a commit d4febb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/JsonRPC/HttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ protected function parseCookies(array $headers)

if (count($item) === 2) {
$name = trim($item[0]);
$value = $item[1];
$value = trim($item[1]);
$this->cookies[$name] = $value;
}
}
Expand Down

0 comments on commit d4febb5

Please sign in to comment.