Skip to content

[stable31] fix(IFilenameValidator): correctly handle case insensitivity - #51662

Merged
AndyScherzinger merged 1 commit into
stable31from
backport/51611/stable31
Mar 28, 2025
Merged

[stable31] fix(IFilenameValidator): correctly handle case insensitivity#51662
AndyScherzinger merged 1 commit into
stable31from
backport/51611/stable31

Conversation

@backportbot

Copy link
Copy Markdown

Backport of PR #51611

@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 31.0.3 milestone Mar 24, 2025
- 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>
@AndyScherzinger
AndyScherzinger merged commit 2182494 into stable31Mar 28, 2025
@AndyScherzinger
AndyScherzinger deleted the backport/51611/stable31 branch March 28, 2025 20:14
@AltahrimAltahrim mentioned this pull request Apr 3, 2025
2 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.

3 participants

@AndyScherzinger@susnux@come-nc