mirror of
https://github.com/Joulenap/joulenap.git
synced 2026-08-11 13:21:43 +02:00
secrets.compare_digest() rejects non-ASCII str with TypeError, turning the unauthenticated /api/dashboard endpoint's 401 path into a 500 when an attacker sends a non-ASCII ?key= or X-API-Key. Compare as UTF-8 bytes instead, and add a regression test. Also fix the Homepage integration snippet (UI + docs) referencing the non-existent /favicon.svg; the app serves its icon at /assets/joulenap-icon.svg.