mirror of
https://github.com/cloudflare/vinext.git
synced 2026-09-14 19:04:59 +08:00
6986e1017f
- Add Content-Security-Policy and X-Content-Type-Options headers to image responses - Validate Content-Type allowlist (reject SVG, HTML, non-image types) - Bound width parameter to configured deviceSizes/imageSizes with 3840px max - Add deviceSizes and imageSizes to NextConfig type - Apply to all image paths: Workers, Node.js prod server (App + Pages Router) - Fix benchmarks limit param NaN handling