Files
t3code/apps
Andrei Drăgan RădulețandClaude Fable 5 b18a3296f5 feat(server): persist non-image file attachments
- inferFileExtension with a conservative SAFE_FILE_EXTENSIONS allowlist
  (.bin fallback) so resolve-by-id keeps working and risky extensions
  (.html/.svg-for-files) never land on the same-origin asset route
- Normalizer accepts any MIME for type:"file" uploads; image gate and
  size limits unchanged
- attachment GC keep-set includes file attachments (previously any
  non-image attachment would be pruned from disk)

Co-Authored-By: Claude Fable 5 <[email protected]>
2026-07-20 18:08:18 +02:00
..