Files
ladybird/Tests/LibWeb/Text/expected/HTML/image-webp-served-from-svg-url.txt
Shannon Booth 706011bd9b LibWeb: Respect image response MIME type over .svg URL suffix
SharedResourceRequest was treating any URL ending in .svg as SVG, even
when the response Content-Type was some other format (like image/webp).
This could result in transformed CDN image URLs to fail decoding.

Only use the .svg URL suffix fallback when no MIME type was provided.
2026-04-19 15:57:47 +02:00

3 lines
33 B
Plaintext

naturalWidth: 1
naturalHeight: 1