Uploaded files have incorrect mime type guessed
For some reason, only when running on bref the incorrect mime type of files is guessed. Will dig and try to figure out why.
Exact file (fully valid image) https://filebin.net/xkoaborfk6egt6r6/exported_image.png
Mac mime check on the file
~/downloads ❯ file --mime-type -b exported_image.png
image/png
The fileinfo guesses, which i'm guessing is used in bref guesses correctly locally. Could this be related to base64 encode issues?
I don't understand the problem, your first post shows "image/png"
Hi @mnapoli
When using the laravel file type validations, and for example the extension() method, this is based on the gussed mime type.
In the first screenshot (sorry could have been more clear) the first mine type is the client mime type (from headers) and the second is the guessed mime time (bin, incorrectly which causes a validation failure)