Mimetype issue
I have a strange issue that only happens on FreeBSD 13.0. I'm using perlbrew and perl-5.32.1 and Nginx as a reverse proxy and also File::MimeInfo::Magic = v0.28, tested on FreeBSD 12.2 and 13.0.
Lutim will always raise the error "The file xxx.zzz is not an image.", this occurs at the line: if (index($mediatype, 'image/') >= 0)
in which $mediatype
will be always application/octet-stream
--tons of images tested still the same.
I can't figure out why but on FreeBSD 12.2 it works. Thanks.
Edited by Daniel S