fix(security): mark SVGZ as mayFailValidation in format matrix

The hardened SVG sanitizer may reject certain SVGZ content that was
previously accepted. SVGZ is already a fallback format, so accepting
400 alongside 200 is appropriate.
This commit is contained in:
SnapOtter
2026-05-14 17:53:40 +08:00
parent b8759ee581
commit 9839888a59
+1 -1
View File
@@ -185,7 +185,7 @@ const FORMAT_SAMPLES: FormatSample[] = [
mime: "image/svg+xml",
needsCliDecoder: false,
needsHeifDecoder: false,
mayFailValidation: false,
mayFailValidation: true,
},
{
name: "JP2",