From 21ad58f525b321b0d3ecc062208616880e143b01 Mon Sep 17 00:00:00 2001 From: Ember Date: Fri, 22 Sep 2023 15:26:25 +1000 Subject: [PATCH] Update media_type_spoof_detector_extensions.rb --- lib/paperclip/media_type_spoof_detector_extensions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/paperclip/media_type_spoof_detector_extensions.rb b/lib/paperclip/media_type_spoof_detector_extensions.rb index c8868d5e9526c5..abe5db61cfeab0 100644 --- a/lib/paperclip/media_type_spoof_detector_extensions.rb +++ b/lib/paperclip/media_type_spoof_detector_extensions.rb @@ -2,7 +2,7 @@ module Paperclip module MediaTypeSpoofDetectorExtensions - MARCEL_MIME_TYPES = %w(audio/mpeg image/avif).freeze + MARCEL_MIME_TYPES = %w(audio/mpeg image/avif image/jxl).freeze def calculated_content_type return @calculated_content_type if defined?(@calculated_content_type)