Andrey Antukh 2a0b75fe09 🐛 Validate content-type on management upload endpoints
Add media type validation to upload-tempfile and upload-org-logo
management endpoints. Both stored user-supplied mtype without
checking against an allowlist. Only image types and PDF are
permitted. Non-public bucket assets now also carry
Content-Disposition: attachment to prevent inline rendering.

AI-assisted-by: mimo-v2.5
2026-08-03 18:26:47 +02:00
..