Skip to content

fix: reject partial min-size matches like 1.5M - #629

Open
Pajimo wants to merge 1 commit into
bootandy:masterfrom
Pajimo:fix/min-size-partial-match
Open

Pajimo wants to merge 1 commit into
bootandy:masterfrom
Pajimo:fix/min-size-partial-match

Conversation

@Pajimo

@Pajimo Pajimo commented Sep 23, 2026

Copy link
Copy Markdown

The min-size regex wasn't anchored so -z 1.5M or -z "1 M" just matched the 1 and set min size to 1 byte, so nothing got filtered. Anchored it and invalid values now get the same "Ignoring invalid min-size" warning.

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.

1 participant