Eugen Rochko
6385ddb97f
Fix support for MP4 files that are actually M4V files ( #11210 )
...
Resolve #11187
2019-06-30 16:10:43 +02:00
Eugen Rochko
297e15baa0
Fix audio-only OGG and WebM files not being processed as such ( #11151 )
...
Also, because Chrome sends audio/mp3 instead of audio/mpeg as it's
supposed to, we need to whitelist that mime type as well
2019-06-22 16:54:06 +02:00
Eugen Rochko
c078bf94a9
Fix converted media being saved with original extension and mime type ( #11130 )
2019-06-20 10:52:36 +02:00
Renato "Lond" Cerqueira
c0fbe9e3a4
Restore support to ruby 2.3, add ruby 2.3 to circle ci ( #7935 )
...
This replace calls of String#match? with rails Regex#match?
This follows the same idea used to keep Rails 5.2 compatible with Ruby
2.2.2 in https://github.com/rails/rails/pull/32973
2018-07-03 19:47:09 +02:00
ThibG
ef3ac6e4a7
Fix jpeg files sometimes being returned with a .jpe extension ( #7881 )
...
While this isn't exactly *wrong*, files uploaded with a “.jpe” extension will
keep that extension, which will often cause them to be served with an
incorrect mimetype.
2018-06-24 13:33:06 +02:00
Eugen Rochko
38fb602407
Create special case to prefer "jpeg" over "jpe" file extension ( #7841 )
2018-06-18 17:27:05 +02:00
Eugen Rochko
39f36c0901
Detect and prevent image bombs, max. processable dimension 4096^2 ( #7229 )
2018-04-23 09:16:38 +02:00
alpaca-tc
3ceb700ea2
Fixes unknown mime type ( #2822 )
2017-05-05 21:32:14 +02:00
Yamagishi Kazutoshi
9f6363a319
Detect extension for preview card ( #2679 )
...
* Detect extension for preview card
* next
2017-05-01 16:20:57 +02:00