Menu

#209 utils/adddoc.php uses FILEINFO_MIME instead of FILEINFO_MIME_TYPE

5.0.0
closed
nobody
None
bug
2015-05-02
2015-04-25
kaihowl
No

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.

Discussion

  • Uwe Steinmann

    Uwe Steinmann - 2015-05-02

    will be fixed in 4.3.18 as proposed in bug report

     
  • Uwe Steinmann

    Uwe Steinmann - 2015-05-02
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB