Closed mikk150 closed 3 years ago
@mikk150 any idea on how to fix that?
maybe we could use Symfony\Component\BrowserKit\Cookie::fromString()
, that way we do not need to deal with it at all
Hmm... yes. That would be good. Do you have time for a pull request?
Bad thing is that yii\web\Cookie::_toString()
does not give cookie string, just cookie value, otherwise, it would have been really simple
Actually, I think I can fix it in framework, and it will be prettier
Awesome 👍
Merged PR in Yii. Going to be part of the next release.
Since in Yii2 from 2.0.35
samesite
is appended to cookie path, then https://github.com/symfony/browser-kit/blob/d528d7fb4570548c3419ee9acb4b231082b6801c/CookieJar.php#L182 failshttps://github.com/yiisoft/yii2/pull/18013