summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/freedesktop.org.xml.in10
-rw-r--r--tests/mime-detection/boardingpass.pkpassbin0 -> 5123 bytes
-rw-r--r--tests/mime-detection/list1
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in
index 27e2bd6b..15dd2f78 100644
--- a/data/freedesktop.org.xml.in
+++ b/data/freedesktop.org.xml.in
@@ -7463,6 +7463,16 @@ command to generate the output files.
<glob pattern="*.pages"/>
<alias type="application/x-iwork-pages-sffpages"/>
</mime-type>
+ <mime-type type="application/vnd.apple.pkpass">
+ <comment>Apple Wallet pass</comment>
+ <sub-class-of type="application/zip"/>
+ <magic priority="65">
+ <match type="string" value="PK\003\004" offset="0">
+ <match type="string" value="pass.json" offset="30"/>
+ </match>
+ </magic>
+ <glob pattern="*.pkpass"/>
+ </mime-type>
<mime-type type="application/x-pagemaker">
<comment>Adobe PageMaker document</comment>
diff --git a/tests/mime-detection/boardingpass.pkpass b/tests/mime-detection/boardingpass.pkpass
new file mode 100644
index 00000000..ebba7f09
--- /dev/null
+++ b/tests/mime-detection/boardingpass.pkpass
Binary files differ
diff --git a/tests/mime-detection/list b/tests/mime-detection/list
index d9cc56dc..e3f9a84b 100644
--- a/tests/mime-detection/list
+++ b/tests/mime-detection/list
@@ -764,6 +764,7 @@ subshapes.swf application/vnd.adobe.flash.movie
pci.mod application/x-object x
# PIE executable https://gitlab.freedesktop.org/xdg/shared-mime-info/-/issues/11
ls application/x-executable x
+boardingpass.pkpass application/vnd.apple.pkpass
hello.xdgapp application/vnd.flatpak
hello.flatpak application/vnd.flatpak