-
-
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
Don't check Same-Site attribute for mobile chrome #1454
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 |
See https://bugs.chromium.org/p/chromium/issues/detail?id=628859#c12 … Chrome 54 will by default disable system download manager. To be released in 3 weeks or so… 🙈 |
Also left some more information at https://bugs.chromium.org/p/chromium/issues/detail?id=628859#c13 for the Android developers. |
04dbd78
to
d5337f5
Compare
// all same-site cookies get deleted and recreated directly. Awesome! | ||
// FIXME: Remove once Chrome 54 is deployed to end-users | ||
// @see https://github.com/nextcloud/server/pull/1454 | ||
if(\OC::$server->getRequest()->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_ANDROID_MOBILE_CHROME])) { |
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.
use $request
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.
use git to fix it yourself :)
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.
Tested and works 👍
I tested this and it works now 👍 |
cc @nickvergessen @ChristophWurst @schiessle please review |
@schiessle reviewed it carefully together with me in a review session and had a really critical view on it and they say it's ok. 👍 |
@karlitschek Could we backport this to stable10? |
nice. please backport 👍 |
Backport at #1456 |
Android is really insane when it is about cookies. So what happens is:
This makes downloads fails on mobile Chrome.
Fixes #342