When I try to get the content type for the uploaded file test.xlsx, I got wrong content
ContentInfoUtil contentInfoUtil = new ContentInfoUtil();
ContentInfo contentInfo = contentInfoUtil.findMatch("D:/test.xlsx");
System.out.println(contentInfo.getMimeType());
System.out.println(contentInfo.getContentType());
I got this output
application/vnd.openxmlformats-officedocument
MICROSOFT_OFFICE
and it should be
application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
MICROSOFT_EXCEL_XML
I attached the excel file that has this problem
Note: I tested it on version 1.16 and 1.17
test.xlsx