When a logo is downloaded the mimetype is stored on the wrong propery on the file object. It is stored on $file->mimetype but should be on $file->filemime.

CommentFileSizeAuthor
#1 2083313-1-apps-file_mimetype.patch514 bytespfrenssen

Comments

pfrenssen’s picture

Status: Active » Needs review
StatusFileSize
new514 bytes
hefox’s picture

Issue summary: View changes

That seems reasonable, but for those that don't know the file system well (e.g. me), can you provide information to back up this patch (e.g. api documentation or such for file saving/other places using filemime)?

pfrenssen’s picture

Sure! You can see the "filemime" property being set in file_save_data().

  • hefox committed 1640db1 on 7.x-1.x authored by pfrenssen
    Issue #2083313 by pfrenssen: Wrong property used to store mimetype
    
hefox’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.