fix: Load preview URL for download-disabled shares by susnux · Pull Request #2484 · nextcloud/viewer
Base automatically changed from fix/hide-download-correctly to master
September 15, 2024 10:56An error occurred while trying to automatically change base from fix/hide-download-correctly to master
September 15, 2024 10:56
susnux
marked this pull request as ready for review
This was possible on Nextcloud 30 and previous due to a "bug": The `download` permission was simply not rejected for public shares, just a `hide` flag was set on the public share. Now the permissions are correctly set, so loading a preview is not possible. The work-around is to allow previews when the correct header is set. Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters