astro@6.1.7
📦 astroView on GitHub →
🐛 3 fixes🔧 1 symbols
Summary
This patch release addresses several bugs, including issues with remote image dimension validation during static builds, the --port flag persistence after server restarts, and security validation on the /_image endpoint for SVG requests.
🐛 Bug Fixes
- Fixed a bug where remote image dimensions were not validated during static builds on Netlify.
- Fixed the --port flag being ignored after a Vite-triggered server restart (e.g. when a .env file changes).
- Fixed the /_image endpoint accepting an arbitrary f=svg query parameter and serving non-SVG content as image/svg+xml. The endpoint now validates that the source is actually SVG before honoring f=svg.