[File] application/vnd.oasis.opendocument.database replace/remove
mst at libreoffice.org
Tue Jan 24 10:48:54 UTC 2023
it only took 10 years but it was finally possible to register the
correct mime type for ODF databases at IANA.
see for details: https://issues.oasis-open.org/browse/OFFICE-3745
now this leads to this obvious change:
diff --git a/magic/Magdir/archive b/magic/Magdir/archive
index 6d89aea4..2143c19f 100644
@@ -1757,8 +1757,7 @@
# Valid for LibreOffice Base 184.108.40.206 at least
>>>73 string base Database
>>>73 string image
>>>>78 byte !0x2d Image
less obviously, i see this just a few lines above:
>>>73 string database Database
it checks for the string "database" in the file - which makes me wonder
- is this based purely on the wrong mime type being registered at IANA,
or is there actually some software that produces such files? i have
exactly 2387 .odb files here, and all of them use "base", not "database".
so probably this could be removed?
More information about the File