You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If cookie-av's attribute-value is a case-insensitive match for "None", set enforcement to "None".
If cookie-av's attribute-value is a case-insensitive match for "Strict", set enforcement to "Strict".
If cookie-av's attribute-value is a case-insensitive match for "Lax", set enforcement to "Lax".
Append an attribute to the cookie-attribute-list with an attribute-name of "SameSite" and an attribute-value of enforcement.
The current implementation should be corrected to match the text above.
For our 5.x release, we have been focused on porting over the previous JavaScript implementation so that it matches that behavior as accurately as possible (bugs and all) before working on improvements which is why the TypeScript code, though recently added, matches the earlier draft spec implementation.
https://github.com/salesforce/tough-cookie/blob/master/lib/cookie/cookie.ts#L612
As far as I know chrome treats cookies with no
SameSite
attribute asSameSite=Lax
.So setting
SameSite=None
is not same as setting noSameSite
.So I wonder why it is not returned by the toString method.
The text was updated successfully, but these errors were encountered: