mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Closes the WITHINGS_WEBHOOK_SECRET leak (sec-C1): the api-handler seeds http.path and http.route from url.pathname, which carries the shared secret for /api/withings/webhook/<secret> requests. Routing both fields through redactSecrets() at setHttp() time keeps the secret out of stdout, the in-memory ring buffer, and Loki egress.