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)