Merge commit 'edd5c53f09905c1352d1e3aecac444554630716e' into release

This commit is contained in:
David Benson 2025-05-09 18:10:33 +01:00
commit 85c497059b

View File

@ -1963,6 +1963,14 @@ function checkFileContent(body, enc)
{
return true;
}
// Embed cases img and iframe
if (c2 == 'i' && c3 == 'm' && c4 == 'g' && c5 == ' '
|| (c2 == 'i' && c3 == 'f' && c4 == 'r' && c5 == 'a'
&& c6 == 'm' && c7 == 'e' && c8 == ' '))
{
return true;
}
}
// big and little (identical) endian UTF-8 encodings, with BOM