From 017fa133931ef76d9e5219666530fc441c6127ea Mon Sep 17 00:00:00 2001 From: Seth Hall Date: Mon, 4 Apr 2016 15:20:03 -0400 Subject: [PATCH] Fix mime type identification for Windows LNK files. --- scripts/base/frameworks/files/magic/general.sig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/base/frameworks/files/magic/general.sig b/scripts/base/frameworks/files/magic/general.sig index 268412ff05..72b04888db 100644 --- a/scripts/base/frameworks/files/magic/general.sig +++ b/scripts/base/frameworks/files/magic/general.sig @@ -87,7 +87,7 @@ signature file-f4m { # Microsoft LNK files signature file-lnk { file-mime "application/x-ms-shortcut", 49 - file-magic /^\x4C\x00\x00\x00\x01\x14\x02\x00\x00\x00\x00\x00\xC0\x00\x00\x00\x00\x10\x00\x00\x00\x46/ + file-magic /^\x4c\x00\x00\x00\x01\x14\x02\x00\x00\x00\x00\x00\xc0\x00\x00\x00\x00\x00\x00\x46/ } signature file-jar { @@ -269,4 +269,4 @@ signature file-elf-sharedlib { signature file-elf-coredump { file-mime "application/x-coredump", 50 file-magic /\x7fELF[\x01\x02](\x01.{10}\x04\x00|\x02.{10}\x00\x04)/ -} +} \ No newline at end of file