Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Feb 28, 2025

Summary

Single file shares use the share token as source name, so we need to use the displayname. To do so we need to set the download attribute to the displayname of the file to download.

Checklist

@susnux susnux added this to the Nextcloud 32 milestone Feb 28, 2025
@susnux susnux requested review from a team and removed request for a team February 28, 2025 20:54
@susnux susnux requested a review from skjnldsv as a code owner February 28, 2025 20:54
@susnux
Copy link
Contributor Author

susnux commented Feb 28, 2025

/backport to stable31

@susnux susnux force-pushed the fix/files-sharing-download branch from 6cfc50b to 6b1c456 Compare March 4, 2025 13:09
@susnux susnux requested review from a team as code owners March 4, 2025 13:09
@skjnldsv
Copy link
Member

skjnldsv commented Mar 4, 2025

image

@susnux susnux force-pushed the fix/files-sharing-download branch 2 times, most recently from 37dc0d3 to 963d926 Compare March 4, 2025 17:58
susnux added 2 commits March 5, 2025 08:31
Single file shares use the share token as source name, so we need to use
the displayname. To do so we need to set the download attribute to the
displayname of the file to download.

Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
@susnux susnux force-pushed the fix/files-sharing-download branch from 963d926 to a215286 Compare March 5, 2025 07:45
@susnux susnux merged commit 88795ba into master Mar 5, 2025
121 checks passed
@susnux susnux deleted the fix/files-sharing-download branch March 5, 2025 08:14
@nextcloud-bot nextcloud-bot mentioned this pull request Aug 19, 2025
@skjnldsv skjnldsv modified the milestones: Nextcloud 32, Nextcloud 33 Sep 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

File gets downloaded with shared link as name of file

5 participants