-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
cy.setCookie incorrectly sets a non hostOnly cookie by default #363
Comments
@brian-mann this would be a breaking change if updated today, correct? |
Not if its been a bug since day 1 |
Which is why I think it's breaking, fixing it would change the behavior of I need to verify that this change didn't accidentally get made when we switched to using CDP for cookies. |
fixed by #24692 |
The code for this is done in cypress-io/cypress#24692, but has yet to be released. |
Released in This comment thread has been locked. If you are still experiencing this issue after upgrading to |
We are incorrectly setting non
hostOnly
cookies to the superdomain of the remote origin.This means that this cookie would be sent on all subdomains.
This is wrong, by default it needs to set a
hostOnly
cookie to the remote origin.The text was updated successfully, but these errors were encountered: