Hi, I've been trying to get the Filebrowser module to display icons for proprietary MIME/media types. The usual .htaccess method in Apache and fiddling with the server OS (Debian 10) doesn't seem to work, so delving into the code has me wondering if Backdrop derives it's MIME types from the File modules in Core.
If that's the case, how do we go about adding to the existing MIME types without hacking Core modules?
Hello @and-e-h,
Not sure if we are talking about the same thing, but are you referring to a missing MIME type from https://github.com/backdrop/backdrop/blob/1.x/core/includes/file.mimetypes.inc#L36 ? If so, then this is something I have noticed when reviewing the newly-added File Entity functionality in the recently-released Backdrop v1.14.
I have filed this issue to update the list of MIME types according to the latest from IANA: https://www.iana.org/assignments/media-types/media-types.xhtml
If I got it wrong, and it is something else that you are trying to achieve, can you please elaborate?
Thanks