Reply to Re: Upload xlsx files

Re: Upload xlsx files new!
by colin, 11 months, 2 weeks 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;

Your reply

Name *
Title *
Text *
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