Open mattlock2 opened 1 year ago
I created a simple word document with the Word "hello" in it (attached), saved it as a .docx file.
But filetype.Match returns zip even if I send the entire file (all 12kb) to filetype.Match
I'm using version v1.1.3
Hello.docx
Sounds like it's related to this bug https://stackoverflow.com/a/72664761/8595398 where filetype.Match isn't looking at enough of the file to determine that it's docx rather than zip
I have the same issue
I have the same issue,but the file is. xlsx, this is my file, 联系人跟进状态分布-2023-06-07 15_26_33.xlsx
use "github.com/gabriel-vasile/mimetype" may be solve this problem
I created a simple word document with the Word "hello" in it (attached), saved it as a .docx file.
But filetype.Match returns zip even if I send the entire file (all 12kb) to filetype.Match
I'm using version v1.1.3
Hello.docx
Sounds like it's related to this bug https://stackoverflow.com/a/72664761/8595398 where filetype.Match isn't looking at enough of the file to determine that it's docx rather than zip