1
0
Fork 0
mirror of https://github.com/codedread/bitjs synced 2025-10-03 17:49:16 +02:00

Add one more byte for the gzip signature

This commit is contained in:
Jeff Schiller 2024-01-25 20:46:41 -08:00
parent 4ca68bd336
commit e03fe7c483

View file

@ -26,7 +26,7 @@ const fileSignatures = {
'application/pdf': [[0x25, 0x50, 0x44, 0x46, 0x2d]], // '%PDF-'
// Archive formats:
'application/gzip': [[0x1F, 0x8B]],
'application/gzip': [[0x1F, 0x8B, 0x08]],
'application/x-tar': [ // 'ustar'
[0x75, 0x73, 0x74, 0x61, 0x72, 0x00, 0x30, 0x30],
[0x75, 0x73, 0x74, 0x61, 0x72, 0x20, 0x20, 0x00],