mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-09-03 00:14:23 +00:00
Fix the problem that xlsx,pptx.docx changed to be xls,ppt,doc when download file by IE.
This commit is contained in:
@@ -123,11 +123,11 @@ extern SeafileSession *seaf;
|
||||
static struct file_type_map ftmap[] = {
|
||||
{ "txt", "text/plain" },
|
||||
{ "doc", "application/vnd.ms-word" },
|
||||
{ "docx", "application/vnd.ms-word" },
|
||||
{ "docx", "application/vnd.openxmlformats-officedocument.wordprocessingml.document" },
|
||||
{ "ppt", "application/vnd.ms-powerpoint" },
|
||||
{ "pptx", "application/vnd.ms-powerpoint" },
|
||||
{ "pptx", "application/vnd.openxmlformats-officedocument.presentationml.presentation" },
|
||||
{ "xls", "application/vnd.ms-excel" },
|
||||
{ "xlsx", "application/vnd.ms-excel" },
|
||||
{ "xlsx", "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" },
|
||||
{ "pdf", "application/pdf" },
|
||||
{ "zip", "application/zip"},
|
||||
{ "mp3", "audio/mp3" },
|
||||
|
Reference in New Issue
Block a user