Added form with Joomla standard field type => file to upload all file formats
Array with upload file details
Zip file upload is not supporting. Getting an empty array on below code,
JFactory::getApplication()->input->files->get('jform', array (), 'array');
We need to allow zip file to upload if server supports zip upload.
Labels |
Added:
?
|
yes, i have updated zip file extensions in both MIME Types(application/zip) and Extensions (zip,ZIP) under media.
Its not supporting zip upload. I am getting empty array on zip upload. I hope Joomla supports
Status | New | ⇒ | Discussion |
Category | ⇒ | com_media |
File
field type doesn't use any settings from com_media
. This is filter doing its job. Certain archives are scanned for PHP files:
joomla-cms/libraries/src/Filter/InputFilter.php
Lines 533 to 534 in 56824f3
You can avoid this by setting filter to raw
and doing custom filtering in your code.
Labels |
Added:
J3 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-10-10 10:55:35 |
Closed_By | ⇒ | thaneshs |
Can you please check the options you made in com_media for the allowed types? Do they include zip? What mime type does your zip have? Is that mime type whitelisted?