summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2023-09-12 19:24:22 +0200
committerDavid Faure <faure@kde.org>2023-09-12 19:24:22 +0200
commitc9ea6166e05f01cebfaab369c1f64886481990d2 (patch)
treea6a461e627d5327b2333fbba9059f4b142c922ab
parentb5dab7604d5d03114a05d1a80595bbd753d52c08 (diff)
Bump magic priority for application/ovf
It was equal to the magic for tar files, so an ovf file could end up being sniffed as ovf or tar, randomly, depending on the implementation. The spec says nothing about preferring a subclass, so better use priorities to order these magic matches.
-rw-r--r--data/freedesktop.org.xml.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index c1fdcb1..c3e8e6c 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -7935,7 +7935,7 @@ command to generate the output files.
<acronym>OVF</acronym>
<expanded-acronym>Open Virtualization Format</expanded-acronym>
<glob pattern="*.ova"/>
- <magic priority="60">
+ <magic priority="62">
<match type="string" value=".ovf" offset="1:256">
<match type="string" value="ustar\0" offset="257"/>
<match type="string" value="ustar\040\040\0" offset="257"/>