mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
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.
3 lines
33 B
Plaintext
3 lines
33 B
Plaintext
naturalWidth: 1
|
|
naturalHeight: 1
|