mastodon/lib/paperclip
ThibG a1412491b7
Change content-type to be always computed from file data (#14452)
* Change content-type to be always computed from file data

Restore previous behavior, detecting the content-type isn't very
expensive, and some instances may serve files as application/octet-stream
regardless of their true type, making fetching media from them fail, while
it used to work pre-3.2.0.

* Add test
2020-08-02 11:21:10 +02:00
..
attachment_extensions.rb Add customizable thumbnails for audio and video attachments (#14145) 2020-06-29 13:56:55 +02:00
blurhash_transcoder.rb
color_extractor.rb Add color extraction for audio thumbnails (#14209) 2020-07-05 18:28:25 +02:00
gif_transcoder.rb
image_extractor.rb Fix audio uploads without embedded image (#14203) 2020-07-03 03:05:32 +02:00
lazy_thumbnail.rb
media_type_spoof_detector_extensions.rb Fix mimetype returning nil (#14356) 2020-07-19 13:09:47 +02:00
response_with_limit_adapter.rb Change content-type to be always computed from file data (#14452) 2020-08-02 11:21:10 +02:00
transcoder_extensions.rb Add color extraction for audio thumbnails (#14209) 2020-07-05 18:28:25 +02:00
type_corrector.rb Add customizable thumbnails for audio and video attachments (#14145) 2020-06-29 13:56:55 +02:00
url_generator_extensions.rb
video_transcoder.rb