mezzio / mezzio-swoole

Swoole support for Mezzio

Home Page:https://docs.mezzio.dev/mezzio-swoole/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SameSite=None in SwooleEmitter.php

Bontah opened this issue · comments

Hi,
emitCookies() in SwooleEmitter.php is missing the SameSite attribute, $cookie->getSameSite(). Chrome 80 which will be released on the 4th of february won't send cookies to a thirdparty without SameSite=None anymore. Also $cookie->getSameSite() returns a string like "SameSite= $value" which is also a problem. It should only return the value.