mirror of
https://github.com/guzzle/guzzle.git
synced 2025-02-24 01:53:58 +01:00
+ Fix incorrect equal char while get cookie (fix fails test)
This commit is contained in:
parent
9a161432e4
commit
fe012ca157
@ -69,7 +69,7 @@ class CookieJar implements CookieJarInterface
|
||||
{
|
||||
if (substr($value, 0, 1) !== '"' &&
|
||||
substr($value, -1, 1) !== '"' &&
|
||||
strpbrk($value, ';,')
|
||||
strpbrk($value, ';,=')
|
||||
) {
|
||||
$value = '"' . $value . '"';
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user