We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ed4828 commit b30a487Copy full SHA for b30a487
file/sniffer.js
@@ -8,7 +8,9 @@
8
*/
9
10
// https://mimesniff.spec.whatwg.org/ is a good resource.
11
-// https://github.com/h2non/filetype is an easy target for reverse-engineering.
+// Easy targets for reverse-engineering:
12
+// - https://github.com/h2non/filetype
13
+// - https://github.com/gabriel-vasile/mimetype (particularly internal/magic/ftyp.go)
14
15
// NOTE: Because the ICO format also starts with a couple zero bytes, this tree will rely on the
16
// File Type box never going beyond 255 bytes in length which, seems unlikely according to
0 commit comments