From 2144a114b024c1341a8f46af9b2b7e463e3bfc05 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Thu, 24 Nov 2016 22:26:10 +0100 Subject: [PATCH] Remove exception for Chrome on Mobile This didn't really work anyways and Chrome 54 for Android has been pushed out via Google Play on October 19th. So we should remove this. This is only in master and doesn't affect any stable branch. Fixes https://github.com/nextcloud/server/issues/2318 Signed-off-by: Lukas Reschke --- lib/base.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/lib/base.php b/lib/base.php index 2f5517f4614..7f5afd9a66c 100644 --- a/lib/base.php +++ b/lib/base.php @@ -538,15 +538,6 @@ class OC { return; } - // Chrome on Android has a bug that it doesn't sent cookies with the - // same-site attribute for the download manager. To work around that - // 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($request->isUserAgent([\OC\AppFramework\Http\Request::USER_AGENT_ANDROID_MOBILE_CHROME])) { - return; - } - if(count($_COOKIE) > 0) { $requestUri = $request->getScriptName(); $processingScript = explode('/', $requestUri);