Might be that xsl is actually xls (Excel 97-03)
No, I only tried with xlsx and it is not mistyped, like xls
It uses the Symfony mimetypes from here: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeExtensionGuesser.php I don't think you can extend that.
barryvdh said:
It uses the Symfony mimetypes from here: https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/File/MimeType/MimeTypeExtensionGuesser.php I don't think you can extend that.
In laravel 3, you could. Interesting that I can't do that in 4.
By the way, it contains the xlsx extension, but still guesses it incorrectly.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community