diff options
author | Ville Skyttä <ville.skytta@iki.fi> | 2021-09-07 20:04:19 +0300 |
---|---|---|
committer | Ville Skyttä <ville.skytta@iki.fi> | 2021-09-07 20:04:19 +0300 |
commit | 38e054563b1acfe862223b4510874c3a1b7278db (patch) | |
tree | 5f6af797a12a778d4459dc0c5825c035d68a527b | |
parent | b969e1c74e7c905a96c1590f5350a264dbaa83ae (diff) | |
download | shared-mime-info-work/scop/remove-systemprofiler-plist-magic.tar.gz |
application/x-apple-systemprofiler+xml: remove plist magic and root-XMLwork/scop/remove-systemprofiler-plist-magic
plist XML files are in no way exclusive to system profiler XML
files, they're used for a bunch of things.
Because we don't have them associated with anything else, this
is a recipe for false positives, such as JPEG's that embed plist
XML content. Remove related magic and root-XML to avoid that.
Closes https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/169
-rw-r--r-- | data/freedesktop.org.xml.in | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 934e2e5c..f18b50c4 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -467,11 +467,7 @@ command to generate the output files. <mime-type type="application/x-apple-systemprofiler+xml"> <comment>Apple System Profiler</comment> <sub-class-of type="application/xml"/> - <magic priority="50"> - <match type="string" value="<plist version="1.0"" offset="0:256"/> - </magic> <glob pattern="*.spx" weight="40"/> - <root-XML namespaceURI="http://www.apple.com/DTDs/PropertyList-1.0.dtd" localName="plist"/> </mime-type> <mime-type type="application/x-gedcom"> <comment>GEDCOM family history</comment> |