ACTom/files_mindmap

Mind map changes the content of core/js/mimetypelist.js

meinrecht opened this issue · 0 comments

After an update of some apps inside Nextcloud, the overview page states:
"there is a security issue regarding invalid file hash".

This is caused by Mind map changing the above mentioned file. Here is the diff to the original version from nextcloud:

diff mimetypelist.js mimetypelist.js.new 
113,117c113
<     "application/vnd.xmind.workbook": "mindmap",
<     "image/targa": "image/tga",
<     "": "x-office/document",
<     "application/vnd.openxmlformats-officedocument.wordprocessingml.document.docxf": "x-office/document",
<     "application/vnd.openxmlformats-officedocument.wordprocessingml.document.oform": "x-office/document"
---
>     "application/vnd.xmind.workbook": "mindmap"
147a144
> 

See this discussion:
https://help.nextcloud.com/t/solved-invalid-hash-for-mimetypelist-js/40680/5
and this issue:
nextcloud/server#26022