GNOME Bugzilla – Bug 529852
gnome-user-share doesn't announce proper mime-type
Last modified: 2019-03-20 10:37:41 UTC
When accessing it with konqueror from a kde desktop, konqueror sees files as text/plain when they obviously aren't (say ogg/theora). Apache has a mime module but I'm not sure this would be enough since afaics it's less complete than shared-mime-info. Maybe there should be a feature request to apache first ?
Mail my favourite apache developer about that.
Joe tells me: " Would it be possible to have update-mime-database generate a MIME magic file in the file(1) ASCII format (like /usr/share/file/magic.mime)? mod_mime_magic can read those. Otherwise, using mod_mime_magic configured to use the above magic.mime would make sense, but there would be possible inconsistency. " If somebody wants to give a try at making shared-mime-info's update-mime-database generate a magic.mime file?
if you need to write an apache module anyway for bug 519577, it might be easier to just have that module provide a shared-mime-info-based replacement for mod_mime_magic too...
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-user-share/issues/11.