Results 94 comments of tateisu

browser screen shots for evidence. ![image](https://github.com/mastodon/mastodon/assets/333944/fb0481cc-3dde-4576-9f4d-0167cf733f94) ![image](https://github.com/mastodon/mastodon/assets/333944/485804a6-9832-4406-82a5-12e837be06df) ![image](https://github.com/mastodon/mastodon/assets/333944/723122c8-9cc0-49a4-b7d7-1a2f32108846)

I test ImageMagick's command that is shown in paperclip logs. ``` $ docker build -t im6 . $ docker run -v $PWD:/images -it im6 bash avifConvert.sh ``` Dockerfile ``` ##...

sample image is downloaded from https://github.com/link-u/avif-sample-images

paperclip also runs `file -b --mime`, but it can't recognize AVIF mime type. ``` file -b --mime kimono.mirror-vertical.avif => application/octet-stream; charset=binary ```

> This causes the browser to recognize it as a broken image. why? both of actual data and mime type is image/heic. browser should not see extension part in url.

https://github.com/ImageMagick/ImageMagick/issues/5159 There is a high possibility that ImageMagick is related to the problem that the converted HEIC file is misdetected by AVIF

The account used when this phenomenon occurred was created in April 2017. Since I am an app creator, this account has information of many linked apps. It may contain information...

``` $ docker-compose run --rm web bundle exec rails c irb(main):007:1* Account.find_local!('SubwayTooter').user.applications.map { |app| app.scopes }.filter do |scopes| irb(main):008:1* scopes.map { |scope| ScopeParser.new.parse(scope) } irb(main):009:1* false irb(main):010:1* rescue irb(main):011:1* true...

``` irb(main):047:1* Doorkeeper.config.application_model.authorized_for(Account.find_local!('SubwayTooter').user).map { |app| app.scopes }.filter do |scopes| irb(main):048:1* scopes.map { |scope| ScopeTransformer.new.apply(ScopeParser.new.parse(scope)) } irb(main):049:1* false irb(main):050:1* rescue irb(main):051:1* true irb(main):052:0> end => [#] ```

``` irb(main):053:1* Doorkeeper.config.application_model.authorized_for(Account.find_local!('SubwayTooter').user).filter do |app| irb(main):054:1* app.scopes.map { |scope| ScopeTransformer.new.apply(ScopeParser.new.parse(scope)) } irb(main):055:1* false irb(main):056:1* rescue irb(main):057:1* true irb(main):058:0> end => [#] ```