mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
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:
@@ -185,7 +185,7 @@ const FORMAT_SAMPLES: FormatSample[] = [
|
||||
mime: "image/svg+xml",
|
||||
needsCliDecoder: false,
|
||||
needsHeifDecoder: false,
|
||||
mayFailValidation: false,
|
||||
mayFailValidation: true,
|
||||
},
|
||||
{
|
||||
name: "JP2",
|
||||
|
||||
Reference in New Issue
Block a user