astro@6.4.6
📦 astroView on GitHub →
🐛 2 fixes🔧 1 symbols
Summary
This patch release fixes an issue causing build errors during image renaming in development and hardens attribute handling against invalid characters. It also improves security by validating request origins against configured allowed domains when fetching error pages.
Migration Steps
- If you rely on attributes containing characters like ", ', >, /, =, or whitespace, these characters will now be dropped from attribute names.
🐛 Bug Fixes
- Fixes a build error triggered when renaming an image file while the dev server is running; Astro now correctly hot-reloads the image.
- Hardens addAttribute to drop attribute names containing characters invalid per the HTML spec (", ', >, /, =, whitespace).