From 6af9e1afff902dac9ee2f68bd13062b83b2181b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 21 May 2026 18:51:02 +0200 Subject: [PATCH] chore(doctor-report): escape literal control bytes in sanitiser regex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- src/lib/doctor-report-data.ts | Bin 20804 -> 20813 bytes 1 file changed, 0 insertions(+), 0 deletions(-) diff --git a/src/lib/doctor-report-data.ts b/src/lib/doctor-report-data.ts index 8b074d1f2f704be7042d52020cc4f4da4bca2ac2..037816464a41d5c8314e1a0fb008cdb1adccf85b 100644 GIT binary patch delta 28 jcmX@Ii1F+q#tlrOyfGC92D&j7hHfzx=5CwWMD1(