소스 검색

Merge pull request #2322 from nextcloud/compat-with-chrome54

Remove exception for Chrome on Mobile
tags/v11.0RC2
Morris Jobke 7 년 전
부모
커밋
47646794b9
1개의 변경된 파일0개의 추가작업 그리고 9개의 파일을 삭제
  1. 0
    9
      lib/base.php

+ 0
- 9
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);

Loading…
취소
저장