Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: disable direct download for shares
Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 committed Apr 11, 2025
commit fb3e60862fd4cee2177e19df733eac0f16f6b0bf
5 changes: 5 additions & 0 deletions apps/files_sharing/lib/SharedStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -555,4 +555,9 @@ public function getUnjailedPath(string $path): string {
$this->init();
return parent::getUnjailedPath($path);
}

public function getDirectDownload(string $path): array|false {
// disable direct download for shares
return [];
}
}
Loading