Skip to content
Snippets Groups Projects
Commit 4c8bc617 authored by Bart Visscher's avatar Bart Visscher Committed by Bjoern Schiessle
Browse files

XSendfile and encryption don't work together

The file on disk is encrypted, and not readable on client systems
parent 40f148cc
Branches
No related tags found
No related merge requests found
......@@ -109,6 +109,9 @@ class OC_Files {
$zip = false;
$filename = $dir . '/' . $files;
$name = $files;
if ($xsendfile && OC_App::isEnabled('files_encryption')) {
$xsendfile = false;
}
}
OC_Util::obEnd();
if ($zip or \OC\Files\Filesystem::isReadable($filename)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment