Closed barlevd closed 2 months ago
File are missing Excel media properties
Steps to reproduce the issue:
file --mime-type file.xlsx
file.xlsx: application/octet-stream
Describe the results you received:
Describe the results you expected:
file --mime-type file.xlsx file.xlsx: application/octet-stream
The output should be
file.xlsx: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Output of go version:
go version
go version go1.22.1 darwin/amd64
Excelize version or commit ID:
(paste here)
Environment details (OS, Microsoft Excel™ version, physical, etc.):
The fix is to change the sort order of the output zip file.
Thanks for issue. I have merged the pull request. Please upgrade to the master branch code, and this patch will be released in the next version.
Thank you for the fast follow up.
File are missing Excel media properties
Steps to reproduce the issue:
file --mime-type file.xlsx
, it reportsfile.xlsx: application/octet-stream
Describe the results you received:
Describe the results you expected:
The output should be
Output of
go version
:Excelize version or commit ID:
Environment details (OS, Microsoft Excel™ version, physical, etc.):
The fix is to change the sort order of the output zip file.