镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix(Filesystem): use FilenameValidator for Filesystem::isFileBlacklisted - #54821

Merged
susnux merged 1 commit into
masterfrom
fix/use-filename-validator-for-filesyste
Sep 3, 2025
Merged

susnux merged 1 commit into
masterfrom
fix/use-filename-validator-for-filesyste

Conversation

@susnux

@susnux susnux commented Sep 2, 2025

Copy link
Copy Markdown
Contributor

Summary

This fixes the issue that some methods will not allow uploading files because they still require the deprecated config option to be used. So instead we need to use the validator introduced in v30.

Checklist

@susnux susnux added this to the Nextcloud 32 milestone Sep 2, 2025
@susnux susnux added bug 3. to review Waiting for reviews labels Sep 2, 2025
@susnux

susnux commented Sep 2, 2025

Copy link
Copy Markdown
Contributor Author

/backport to stable31

@susnux

susnux commented Sep 2, 2025

Copy link
Copy Markdown
Contributor Author

/backport to stable30

…sted`

This fixes the issue that some methods will not allow uploading files
because they still require the deprecated config option to be used.
So instead we need to use the validator introduced in v30.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux
susnux force-pushed the fix/use-filename-validator-for-filesyste branch from ffb718b to a31e520 Compare September 2, 2025 17:02
@susnux
susnux marked this pull request as ready for review September 2, 2025 17:58
@susnux
susnux requested a review from a team as a code owner September 2, 2025 17:58
@susnux
susnux requested review from come-nc, icewind1991 and salmart-dev and removed request for a team September 2, 2025 17:58
@susnux
susnux requested a review from provokateurin September 3, 2025 10:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: The option forbidden_filenames is not considered in blacklist check blacklisted_files

4 participants