From afb5281f16e3e62ef84d2c7c7e40b5b4324611b3 Mon Sep 17 00:00:00 2001 From: Ian Channing Date: Fri, 28 Apr 2023 09:53:41 +0200 Subject: [PATCH 1/2] Add jpe,jif,jfif as image/jpeg mime type jfif is the only one that I have actual files for, but for completeness based on https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#jpeg_joint_photographic_experts_group_image I included jpe and jif. --- src/custom-types.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/custom-types.json b/src/custom-types.json index f95ffdfc..458db92e 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -634,7 +634,11 @@ ] }, "image/jpeg": { - "compressible": false + "compressible": false, + "extensions": ["jpe", "jif", "jfif"], + "sources": [ + "https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#jpeg_joint_photographic_experts_group_image" + ] }, "image/jpm": { "compressible": false, From 9247ee85a5e6dd9656576f51a5f0b4a80ab09ec9 Mon Sep 17 00:00:00 2001 From: Ian Channing Date: Tue, 2 May 2023 12:05:00 +0200 Subject: [PATCH 2/2] removed jpe from the extesions as it is in Apache --- src/custom-types.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/custom-types.json b/src/custom-types.json index 458db92e..40ed5287 100644 --- a/src/custom-types.json +++ b/src/custom-types.json @@ -635,7 +635,7 @@ }, "image/jpeg": { "compressible": false, - "extensions": ["jpe", "jif", "jfif"], + "extensions": ["jif", "jfif"], "sources": [ "https://developer.mozilla.org/en-US/docs/Web/Media/Formats/Image_types#jpeg_joint_photographic_experts_group_image" ]