Skip to content

Fix slash handling in filename sanitizer - #2983

Merged
mifi merged 1 commit into
mifi:masterfrom
chrisrode:fix-filename-sanitizer-hyphen-range
Jul 28, 2026
Merged

mifi merged 1 commit into
mifi:masterfrom
chrisrode:fix-filename-sanitizer-hyphen-range

Conversation

@chrisrode

@chrisrode chrisrode commented Jul 28, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Fixes filename sanitization failing to replace / and some other
punctuation characters.

The Unicode-aware sanitizer used this character class:

[^\p{L}\p{N} .-_]

fixes #2982

@chrisrode

Copy link
Copy Markdown
Contributor Author

@mifi

mifi commented Jul 28, 2026

Copy link
Copy Markdown
Owner

thank you!

@mifi
mifi merged commit 25900d1 into mifi:master Jul 28, 2026
2 checks passed
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.

Filename sanitation regression between 3.65.0 and 3.66.1

2 participants