mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 21:32:18 +00:00
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:
1 parent
b5ef81a01b
commit
6af9e1afff
1 file changed
Binary file not shown.
Reference in new issue
Block a user