chore(doctor-report): escape literal control bytes in sanitiser regex

src/lib/doctor-report-data.ts was checked in as raw bytes (file(1)
reported "data", git diff reported "Binary files differ") because the
control-character regex carried literal NUL + US + DEL bytes inside the
character class. Rewrite the class as `[\x00-\x1F\x7F]` so the file is
UTF-8 clean and future diffs are readable. Same runtime behaviour — the
existing 18-case test suite still passes.
This commit is contained in:
Marc-André Bombeck committed 2026-05-21 18:55:14 +02:00
1 parent b5ef81a01b
commit 6af9e1afff
1 file changed
Binary file not shown.