Skip to content

AVIF image variants are assigned the wrong :content_type #62

Closed
@brian-kephart

Description

@brian-kephart

Same as rails/rails#43150

Steps to reproduce

Repro

Expected behavior

AVIF image variant blobs should have a :content_type of 'image/avif'

Actual behavior

AVIF image variants have a :content_type of 'video/quicktime' on the blob. At least they do when running on MacOS. The images display correctly in Chrome, but the "Content-type" header is wrong as a result of the incorrect attribute.

System configuration

Rails version: Edge
Marcel version: Edge

Ruby version: 3.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions