diff options
author | Alex Henrie <alexhenrie24@gmail.com> | 2023-06-29 23:12:48 -0600 |
---|---|---|
committer | David Faure <faure@kde.org> | 2023-08-31 15:12:01 +0000 |
commit | 35054978161faf8f39720a15a98080e5d800898a (patch) | |
tree | 976cc97547d627af0479580962f940871a19269e | |
parent | 9b8ad99a33973e5ed70ad698f9a89f5779e19f16 (diff) |
Prefer application/vnd.efi.iso over application/x-cd-image
Although this media type was registered for the purpose of using it with
EFI, it was defined broadly to include all ISO 9660 images.
https://www.iana.org/assignments/media-types/application/vnd.efi.iso
-rw-r--r-- | data/freedesktop.org.xml.in | 5 | ||||
-rw-r--r-- | tests/mime-detection/list | 4 |
2 files changed, 5 insertions, 4 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 0589011..bb377cf 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -1692,9 +1692,10 @@ command to generate the output files. <glob pattern="*.raw-disk-image.xz"/> <glob pattern="*.img.xz"/> </mime-type> - <mime-type type="application/x-cd-image"> + <mime-type type="application/vnd.efi.iso"> <comment>Raw CD image</comment> <sub-class-of type="application/x-raw-disk-image"/> + <alias type="application/x-cd-image"/> <alias type="application/x-iso9660-image"/> <!-- No magic, see https://bugs.freedesktop.org/show_bug.cgi?id=10049 --> <glob pattern="*.iso" weight="80"/> @@ -1710,7 +1711,7 @@ command to generate the output files. <mime-type type="application/x-iso9660-appimage"> <comment>AppImage application bundle</comment> <sub-class-of type="application/x-executable"/> - <sub-class-of type="application/x-cd-image"/> + <sub-class-of type="application/vnd.efi.iso"/> <generic-icon name="application-x-executable"/> <magic> <match value="ELF" type="string" offset="1" > diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 5f66ab2..a2f3a58 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -617,8 +617,8 @@ mp4v1-video-header.mp4 video/mp4 mp4v2-video-header.mp4 video/mp4 # Disk and CD/DVD images -iso-file.iso application/x-cd-image oxo -bug106330.iso application/x-cd-image oxo +iso-file.iso application/vnd.efi.iso oxo +bug106330.iso application/vnd.efi.iso oxo # N+ for PSP truncated to 1Ko n-plus.cso application/x-compressed-iso disk.img application/x-raw-disk-image oxo |