Skip to content

fix!: Avoid extracting extension not specified in extensions config - #24

Merged
phated merged 1 commit into
mainfrom
phated/extensions-in-name
Oct 15, 2026
Merged

phated merged 1 commit into
mainfrom
phated/extensions-in-name

Conversation

@phated

@phated phated commented Oct 14, 2026

Copy link
Copy Markdown
Member

Fixes #10

This introduces a breaking change to path matching. Previously, a path matched without extensions being provided would still extract the extension from the file and provide it as extension, but with the patch, it will provide an empty string.

This change also fixes an issue where a name with multiple extension segments would fail to match the correct files.

@phated
phated requested a review from FotoVerite October 14, 2026 21:52
@phated phated self-assigned this Oct 14, 2026
@phated phated added this to v6 Oct 14, 2026
@phated phated moved this to In Progress in v6 Oct 14, 2026
@phated
phated merged commit 9de848f into main Oct 15, 2026
10 checks passed
@phated
phated deleted the phated/extensions-in-name branch October 15, 2026 00:52
@phated phated moved this from In Progress to Done in v6 Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

Name property containing a dot that isn't an extension

1 participant