diff --git a/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/document_upload.pl b/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/document_upload.pl index eec525a..380a6ed 100755 --- a/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/document_upload.pl +++ b/Repositories/otago_eprints3/otago_eprints/cfg/cfg.d/document_upload.pl @@ -92,9 +92,9 @@ return "application/application/vnd.ms-excel" if $suffix eq "csv"; # Office XML document types. - return "application/application/vnd.ms-excel" if $suffix eq "xlsx"; - return "application/vnd.ms-powerpoint" if $suffix eq "pptx"; - return "application/msword" if $suffix eq "docx"; + return "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet" if $suffix eq "xlsx"; + return "application/vnd.openxmlformats-officedocument.presentationml.presentation" if $suffix eq "pptx"; + return "application/vnd.openxmlformats-officedocument.wordprocessingml.document" if $suffix eq "docx"; # LaTeX return "application/x-latex" if $suffix eq "tex";