-
-
Notifications
You must be signed in to change notification settings - Fork 4.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
[stable10] Don't check for Same-Site cookie on Chrome Android #1456
Conversation
@LukasReschke, thanks for your PR! By analyzing the annotation information on this pull request, we identified @bartv2, @icewind1991 and @nickvergessen to be potential reviewers |
This breaks login and the public share page. |
This is the same code than on master, so I suspect this also to be not properly working in Android then. My guess is that the cookies are simply never sent then. @MorrisJobke Can you add a |
But I applied the patch also on my productive instance ... weird |
I retested this and it works fine now. I guess this was a non-stable10 compatible app back then. 👍 from me |
@nickvergessen Please test this :)
|
// FIXME: Remove once Chrome 54 is deployed to end-users | ||
// @see https://github.com/nextcloud/server/pull/1454 | ||
if($request->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_ANDROID_MOBILE_CHROME])) { | ||
return; |
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.
I guess I also should move the logic from "self::sendSameSiteCookies();" above this so it catches some more cases. Will correct later.
status @LukasReschke ? |
Chrome 54 is out for mobile => Unnecessary. |
Backport of #1454