-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Introduce SameSiteMode.Unspecified equivalent in 3.x #4890
Comments
This changed from 2.2 -> 3.0 -> 3.1. The value here went from
|
The linked test actually represents an invalid case :) there will never be CookieOptions where "SameSite" is not set, because it is always set with a default value of "None" (code here) What we need to introduce with V3 is the ability to set a value of "ExplicitNone", where this adds a value of "SameSite=None", and change the current v3 to treat SameSite=None as unspecified |
Linking to this test item: #5384 |
Closing as done. |
It looks like
samesite=lax
is not present by default in ASP.NET Core 3.0. See testRawScriptResultTests.AddsHttpCookie()
-- it has been removed. Need to evaluate.The text was updated successfully, but these errors were encountered: