https://bugs.kde.org/show_bug.cgi?id=432717

--- Comment #10 from Stefan Brüns <stefan.bru...@rwth-aachen.de> ---
Because globs are to ambiguous. Just because you have an entry in the mimetype
database which says *.dsf is some format it does not mean *all* files with an
dsf extension adhere to this format. It *may* be a file from DAZ, it may be
something completely different.

This is essentially the case outlined in SMI as "if multiple globs match,
continue with content based detection".

Using globs only works only if the output is purely informational. Past
experience shows relying on globs is broken. Also note, the rationale for using
globs in the first place does not apply, as the indexer *does* open the files
anyway.

The determined mimetype text/plain is completely correct - dsf files are json
files, which are a subclass or ecmascript, which is a subclass of text/plain.

If you want a different behavior, submit a proper mimetype to SMI.

EOD.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to