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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2083313-1-apps-file_mimetype.patch | 514 bytes | pfrenssen |
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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 2083313-1-apps-file_mimetype.patch | 514 bytes | pfrenssen |
Comments
Comment #1
pfrenssenComment #2
hefox commentedThat 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)?
Comment #3
pfrenssenSure! You can see the "filemime" property being set in file_save_data().
Comment #5
hefox commented