1
0
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:
Егор Таланцев 2015-08-28 14:31:21 +05:00
parent 9a161432e4
commit fe012ca157

View File

@ -69,7 +69,7 @@ class CookieJar implements CookieJarInterface
{
if (substr($value, 0, 1) !== '"' &&
substr($value, -1, 1) !== '"' &&
strpbrk($value, ';,')
strpbrk($value, ';,=')
) {
$value = '"' . $value . '"';
}