-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Send Clear-Site-Data header and let browsers ignore it if unsupported #37405
Conversation
Do we gain anything to just not send it if safari? If so, we should not even bother and send it for all browsers, no? |
Sure but as i didn't knew the reason why some were balcklisted i assumed it was a compatiblity issue; but yes, this is just a header, browsers will just ignore it if unsupported. |
@skjnldsv I've changed the code accordingly. |
d708174
to
cfd7a57
Compare
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Don't send Clear-Site-Data to Safari Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com> Fix lint Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tests/Core/Controller/LoginControllerTest.php:160
needs a fix :)
I cancelled the regression code of the PR here: #42544. |
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
Summary
According to https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Clear-Site-Data#browser_compatibility only Safari don't support it.
Checklist