Assignment of mimetypes is selecting the wrong type
After storing several Word template files with macros on a current Mayan installation and taking a look at the data returned by the DMS I got this:
"label": "Vorlage Beleg-Abrechnung.dotm", "language": "deu", "mimetype": "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
which is not quite correct.
would have been the correct type here. Preview is working (but I'm a bit scared what happens if a file with malicious macros is uploaded...
So my request is actually at least 3: Can the mechanism that detects the mimetype be corrected? Can we get a method of editing it if it does not match what we know about the document? Can the API function for document upload permit setting the mimetype?