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 Add blurhash to preview cards (#13984) 2020-06-05 23:10:41 +02:00
color_extractor.rb Add color extraction for audio thumbnails (#14209) 2020-07-05 18:28:25 +02:00
gif_transcoder.rb Fix GifReader exceptions (#13760) 2020-05-15 11:38:12 +02:00
image_extractor.rb Fix audio uploads without embedded image (#14203) 2020-07-03 03:05:32 +02:00
lazy_thumbnail.rb Update ESLint and RuboCop in Code Climate (#12534) 2019-12-02 18:25:43 +01:00
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 Fix Paperclip using deprecated URI.escape function (#13320) 2020-03-26 15:09:16 +01:00
video_transcoder.rb Fix videos with unsupported colorspace not being transcoded (#13242) 2020-03-10 11:58:40 +01:00