Skip to content

GitHub Issue 1403: File extension allow list is case sensitive - #7918

Merged
labkey-jeckels merged 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_fileTypeCaseSensitivity
Aug 10, 2026
Merged

GitHub Issue 1403: File extension allow list is case sensitive#7918
labkey-jeckels merged 3 commits into
release26.7-SNAPSHOTfrom
26.7_fb_fileTypeCaseSensitivity

Conversation

@labkey-jeckels

Copy link
Copy Markdown
Contributor

Rationale

We've long been inconsistent in terms of how we handle case-sensitive file extension checks when they have a trailing .gz

Changes

  • Standardize behavior between isType(), isMatch(), etc

@labkey-jeckels
labkey-jeckels requested a review from a team August 8, 2026 00:57
@labkey-jeckels labkey-jeckels self-assigned this Aug 8, 2026
@@ -48,6 +51,7 @@
public class FileType implements Serializable

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

While we're here, probably worth adding a JavaDoc comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added.

@labkey-jeckels
labkey-jeckels merged commit 43c9abe into release26.7-SNAPSHOT Aug 10, 2026
9 of 12 checks passed
@labkey-jeckels
labkey-jeckels deleted the 26.7_fb_fileTypeCaseSensitivity branch August 10, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants