XSendfile and encryption don't work together
The file on disk is encrypted, and not readable on client systems
This commit is contained in:
parent
40f148cc6c
commit
4c8bc61753
1 changed files with 3 additions and 0 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue