Browse Source

Merge commit 'edd5c53f09905c1352d1e3aecac444554630716e' into release

release
David Benson 3 months ago
parent
commit
85c497059b
  1. 8
      src/main/electron.js

8
src/main/electron.js

@ -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

Loading…
Cancel
Save