aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-26 01:56:14 -0500
committerCraig Jennings <c@cjennings.net>2026-05-26 01:56:14 -0500
commit98382929852b213f8dc8b1ba720cc0d1861159b6 (patch)
tree004d12d6ddfc21af0c999a6faca8f00332ed4f8d /scripts
parent8abcc1adc40b0609d3af58aedf003344209e3ad2 (diff)
downloadrulesets-98382929852b213f8dc8b1ba720cc0d1861159b6.tar.gz
rulesets-98382929852b213f8dc8b1ba720cc0d1861159b6.zip
fix(inbox-send): preserve dots in copied filenames
send_file ran filenames through slugify(), which flattens dots to hyphens. That corrupts the engine.plugin.org plugin-namespace convention: triage-intake.personal-gmail.org arrived as triage-intake-personal-gmail.org, which breaks the engine's triage-intake.*.org glob and the routing that depends on the first dot. I added slugify_filename() for filename stems. It keeps dots, hyphens, underscores, and case, collapses only whitespace runs to hyphens, and truncates on a separator boundary. The prose --text path still uses slugify().
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions