Skip to content

[stable31] fix(dav): allow uploading of files with long filenames - #52302

Merged
provokateurin merged 2 commits into
stable31from
backport/51491/stable31
Apr 22, 2025
Merged

[stable31] fix(dav): allow uploading of files with long filenames#52302
provokateurin merged 2 commits into
stable31from
backport/51491/stable31

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #51491

Reduce nesting and drop duplicated sections.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
A filename must be less or equal 255 characters, but when adding the
`.part` and `.ocfiletransfer` extensions we might overflow this limit.
So we should also use filename hashes for uploading when the file has a
long filename, similar like when we are uploading to the user storage
directly.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@provokateurin
provokateurin merged commit a3fcd57 into stable31Apr 22, 2025
@provokateurin
provokateurin deleted the backport/51491/stable31 branch April 22, 2025 12:52
@blizzzblizzz mentioned this pull request May 5, 2025
10 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@susnux@provokateurin