CodeIgniter: “The filetype you are attempting to upload is not allowed.” |
[eluser]Unknown[/eluser]
PHP has a bug when detecting mime-types using finfo_file(). https://bugs.php.net/bug.php?id=55182 Unfortunately, the Upload class relies on this buggy function in _file_mime_type(). For me, it's seeing a csv file as text/plain. |
Welcome Guest, Not a member yet? Register Sign In |