Reply to Re: Upload xlsx files

Re: Upload xlsx files new!
by colin, 2 years, 1 month ago
On your OS (LInux), the class uses FileInfo PECL extension to detect MIME type, and it detects application/encrypted, which is very generic, and dangerous to allow.

You may try to deactivate FileInfo in order to rely instead on Unix file command: deactivate the code using fileinfo in the class. Search for this line in the class:
$this->mime_fileinfo            = true;
And replace it with
$this->mime_fileinfo            = false;
Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important