diff options
Diffstat (limited to 'apps/files_external/lib/google.php')
-rw-r--r-- | apps/files_external/lib/google.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/lib/google.php b/apps/files_external/lib/google.php index 8a9ffaf7d37..f496fc77574 100644 --- a/apps/files_external/lib/google.php +++ b/apps/files_external/lib/google.php @@ -520,7 +520,8 @@ class Google extends \OC\Files\Storage\Common { // Download as .odp is not available return 'application/pdf'; } else { - return $mimetype; + // use extension-based detection, could be an encrypted file + return parent::getMimeType($path); } } else { return false; |