mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-10-04 02:33:47 +10:00
S3 and Vercel Blob hand back the content type the client declared at upload time, and the upload proxy served it inline on the app origin, so an uploaded text/html or image/svg+xml file could run script as the app. Only raster images (gif, jpeg, png, webp) now render inline; everything else, PDFs included, is served as an application/octet-stream attachment. The check runs at serve time, so it also covers objects stored before this change.