utils/adddoc.php uses FILEINFO_MIME instead of FILEINFO_MIME_TYPE
Open Source Document Management System
Brought to you by:
steinm
The automatic detection of the mime info in the utils/adddoc.php script uses the full mime information instead of just the mimetype: Instead of 'application/pdf' it will be 'application/pdf; charset=binary'. This since will not match any of the converters in seeddms, documents added via adddoc.php will have no preview images.
I propose to simply use FILEINFO_MIME_TYPE instead in l. 148 of utils/adddoc.php.
will be fixed in 4.3.18 as proposed in bug report