Skip to content

Issue with Mime-Type-Detection after 1.4.0 upgrade when used in laravel context with Statamic #25

@florianbrinkmann

Description

@florianbrinkmann

Summary

Hi, I’m working on a project where we use azure-oss/storage-blob-laravel to store Statamic uploads in Azure. After upgrading the flysystem adapter from 1.3.0 to 1.4.0, we had issues with the preview images in Statamic. After checking the changes made between 1.3 and 1.4, it seems to me the changes made to detecting the mime type are the reason.

In the assets meta from Statamic, the mime type of the images with the issue is application/octet-stream. I wasn’t sure if it's better to open the issue in this repo or the azure-oss/storage-blob-laravel one, I hope it’s okay here.

Versions

Version
PHP version 8.3.28
azure-storage-php-adapter-flysystem version 1.4.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