acdream/src/AcDream.Core/Journal
Erik 133be4d1a8
All checks were successful
CI / linux-portable (push) Successful in 3m10s
CI / windows-gate (push) Successful in 5m41s
CI / release (push) Successful in 2m57s
fix(journal): platform-independent file-name sanitisation — CI linux-portable red since 2c2d57b2
Path.GetInvalidFileNameChars() is platform-dependent: on Linux it is
only '/' and NUL, so a backslash in a server or character name survived
sanitisation there and JournalFileTests.TheFileNameFollowsRetailsPattern
failed on the Linux runner while passing on Windows. Sanitise against a
fixed set (Windows' printable invalid chars plus all control chars) so
one name maps to one file name on every platform.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-23 18:46:09 +02:00
..
JournalFile.cs fix(journal): platform-independent file-name sanitisation — CI linux-portable red since 2c2d57b2 2026-08-23 18:46:09 +02:00
JournalPage.cs feat(journal): QJ1/QJ2 — the journal's pages and their file 2026-08-21 15:31:47 +02:00