Harden attachment materialization and static file path handling

- Materialize only valid image data URLs and restrict inferred file extensions to a safe whitelist
- Preserve existing message attachments on upsert unless explicitly replaced or cleared
- Serve static `/` via `index.html` and block traversal attempts in static file requests
b5188e8ceaJulius Marminge committed on 2/28/2026, 5:30:46 AM· committed by Julius Marmingeparent992db16
7 files changedLine totals unavailable