fix: disable direct download for shares

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2025-04-11 17:42:21 +02:00
parent 2ea3491240
commit fb3e60862f
No known key found for this signature in database
GPG key ID: 42B69D8A64526EFB

View file

@ -555,4 +555,9 @@ class SharedStorage extends Jail implements LegacyISharedStorage, ISharedStorage
$this->init();
return parent::getUnjailedPath($path);
}
public function getDirectDownload(string $path): array|false {
// disable direct download for shares
return [];
}
}