Skip to content

[stable30] fix(IFilenameValidator): correctly handle case insensitivity - #51661

Merged
susnux merged 1 commit into
stable30from
backport/51611/stable30
Mar 25, 2025
Merged

[stable30] fix(IFilenameValidator): correctly handle case insensitivity#51661
susnux merged 1 commit into
stable30from
backport/51611/stable30

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #51611

- forbidden names and forbidden base names are case **insensitive**
so we need to check all lowercase here.
- add test that config value is also read case insensitive.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@backportbotbackportbotBot added bug 3. to review Waiting for reviews hotspot: filename handling Filenames - invalid, portable, blacklisting, etc. labels Mar 24, 2025
@backportbotbackportbotBot added this to the Nextcloud 30.0.9 milestone Mar 24, 2025
@susnux
susnux merged commit b19b47c into stable30Mar 25, 2025
@susnux
susnux deleted the backport/51611/stable30 branch March 25, 2025 23:51
@AltahrimAltahrim mentioned this pull request Apr 3, 2025
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to reviewWaiting for reviewsbughotspot: filename handlingFilenames - invalid, portable, blacklisting, etc.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@susnux@come-nc