diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2024-04-22 19:48:35 -0600 |
---|---|---|
committer | David Faure <faure@kde.org> | 2024-04-23 07:46:00 +0000 |
commit | a2790eeefa4098271ca10c2d774d70ca22cd2ba4 (patch) | |
tree | 34b9207dbbb9203188677ca3fd2b26f2e728a0d3 | |
parent | 3b416846a68fa6db013c8ff8af867b31e16db838 (diff) |
Increase priority of application/vnd.oasis.opendocument.text-master
To avoid misdetection as application/vnd.oasis.opendocument.text.
-rw-r--r-- | data/freedesktop.org.xml.in | 2 | ||||
-rw-r--r-- | tests/mime-detection/list | 2 | ||||
-rw-r--r-- | tests/mime-detection/lo24.odm | bin | 0 -> 8336 bytes |
3 files changed, 3 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 91b2d35..3c0e162 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -1329,7 +1329,7 @@ command to generate the output files. <expanded-acronym>OpenDocument Master</expanded-acronym> <sub-class-of type="application/zip"/> <generic-icon name="x-office-document"/> - <magic priority="70"> + <magic priority="75"> <match type="string" value="PK\003\004" offset="0"> <match type="string" value="mimetype" offset="30"> <match type="string" value="application/vnd.oasis.opendocument.text-master" offset="38"/> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 450da0b..784c150 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -191,6 +191,8 @@ so5.sdm application/vnd.stardivision.mail lo7.doc application/msword lo7.xls application/vnd.ms-excel lo7.ppt application/vnd.ms-powerpoint +# Created with LibreOffice 24.2 +lo24.odm application/vnd.oasis.opendocument.text-master # Created with WordPerfect 9 regular.wpd application/vnd.wordperfect compound.wpd application/vnd.wordperfect diff --git a/tests/mime-detection/lo24.odm b/tests/mime-detection/lo24.odm Binary files differnew file mode 100644 index 0000000..5e3d645 --- /dev/null +++ b/tests/mime-detection/lo24.odm |