Skip to content

Conversation

@DerkNh1816
Copy link
Contributor

@DerkNh1816 DerkNh1816 commented Dec 1, 2025

detectMimeTypeFromBuffer is only used when contents is string, in previous version detectMimeType was used which does the is_string check on contents and then uses the detectMimeTypeFromBuffer if it is, else it fallsback to detectMimeTypeFrom path. this pr reintroduces this fallback.

@brecht-vermeersch brecht-vermeersch self-assigned this Dec 2, 2025
@brecht-vermeersch brecht-vermeersch merged commit 60f536f into Azure-OSS:main Dec 2, 2025
8 checks passed
@brecht-vermeersch
Copy link
Member

Thx!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

2 participants