Skip to content

Comments

Update inferSize fetching behavior#13282

Merged
sarah11918 merged 2 commits intomainfrom
fix-images-fetch-thing
Feb 23, 2026
Merged

Update inferSize fetching behavior#13282
sarah11918 merged 2 commits intomainfrom
fix-images-fetch-thing

Conversation

@matthewp
Copy link
Contributor

Description (required)

It's no longer true that inferSize will fetch unauthorized images. Allowing this exposes a vulnerability with internal services, so we now check image.domains.

Related issues & labels (optional)

For Astro version: 5.17.3.

@netlify
Copy link

netlify bot commented Feb 18, 2026

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 0325056
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/699b9af232f04d0008ce9083
😎 Deploy Preview https://deploy-preview-13282--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Contributor

astrobot-houston commented Feb 18, 2026

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/reference/modules/astro-assets.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thank you!

@sarah11918 sarah11918 added the improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) label Feb 18, 2026
@sarah11918
Copy link
Member

Already released with withastro/astro#15569

@sarah11918 sarah11918 added the Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)! label Feb 19, 2026
@sarah11918 sarah11918 merged commit d2892e6 into main Feb 23, 2026
10 checks passed
@sarah11918 sarah11918 deleted the fix-images-fetch-thing branch February 23, 2026 00:16
HiDeoo added a commit to HiDeoo/docs that referenced this pull request Feb 23, 2026
* main:
  Update inferSize fetching behavior (withastro#13282)
  ci: update docs contributors (withastro#13292)
  feat(docs): Add Sevalla deployment guide and remove Kinsta deployment guide and assets (withastro#13286)
  Update link to current language tools repo (withastro#13287)
  Set max-age so prefetch works (withastro#13281)
  i18n(fr): add `errors/remote-image-not-allowed.mdx` (withastro#13288)
  i18n(ja): add integrations-guide/index.mdx (withastro#13194)
  i18n(zh-cn): Update cloudcannon.mdx (withastro#13257)
  i18n(zh-cn): Update configuration-reference.mdx (withastro#13259)
  i18n(zh-cn): Update `content-loader-reference.mdx` and `astro-content.mdx` (withastro#13260)
  i18n(zh-cn): Update `astro-assets.mdx` (withastro#13261)
  i18n(zh-cn): Update `api-reference.mdx` (withastro#13262)
  i18n(es): Update troubleshooting link to Spanish version (withastro#13266)
  ci: update error reference docs (withastro#13283)
  Bump Lunaria prerelease version (withastro#13285)
  i18n(fr): Fix french typo Tutorial p4 (withastro#13272)
  ci: update docs contributors (withastro#13268)
ArmandPhilippot added a commit to ArmandPhilippot/astro-docs that referenced this pull request Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improve or update documentation Enhance / update existing documentation (e.g. add example, improve description, update for changes) Merge Queue Approved and ready to be merged (wait for feature release if also labelled M-O-R)!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants