summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVille Skyttä <ville.skytta@iki.fi>2021-09-07 20:04:19 +0300
committerVille Skyttä <ville.skytta@iki.fi>2021-09-07 20:04:19 +0300
commit38e054563b1acfe862223b4510874c3a1b7278db (patch)
tree5f6af797a12a778d4459dc0c5825c035d68a527b
parentb969e1c74e7c905a96c1590f5350a264dbaa83ae (diff)
downloadshared-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.in4
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="&lt;plist version=&quot;1.0&quot;" 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>