Logs: one set of scrubbing rules for the stores' log and the shared zip

StoreLog.redactLine and the zip's last pass each carried their own URL
and token rules. Both now use SecretScrub: URLs lose query, fragment and
user:password - the stores' lines keep only the host and a plain first
segment, the zip keeps paths with token-bearing segments blanked - and
token values and Authorization / Cookie headers are blanked everywhere.
This commit is contained in:
The412Banner committed 2026-10-09 12:38:42 -04:00
1 parent 56bc2cd3f7
commit 8d94f0c948
4 files changed
+74 -58

No files matched your search

+7
View File
@@ -29,6 +29,13 @@ the timeline, then lessons and backlog. Companion to the README (what the app *d
`SessionLogShareTest` covers it. Nothing was relaxed: the per-session scrub, `scrubOlder` and
every existing rule stay as they were.
- **File manager:** the Session logs shortcut opens `files/logs` (the app reads its own storage).
- **On main after Stores (#476) and the KDE Plasma desktop (#473):** the stores' log is already
`files/logs/stores/stores-<date>.log` and the zip carries its last seven days under `stores/`. One
set of rules scrubs both the stores' log and the zip (`SecretScrub`): `StoreLog.redactLine` keeps
URLs to their host and first plain segment, the zip pass keeps paths with token segments blanked,
both blank token values and Authorization / Cookie headers; the two test suites pass on it. The
Plasma desktop writes nothing outside the session folder (its output is the session's
`desktop.log`), so there was nothing new to move.
## 2026-10-08 - `feat/stores`: GOG, Epic Games and Amazon Games in the launcher (in progress)
A new **Stores** section - the three storefronts' libraries and public catalogs, one download