-
Improvement
-
Resolution: Fixed
-
Minor
-
2.4.3, 2.5
-
MOODLE_24_STABLE, MOODLE_25_STABLE
-
MOODLE_26_STABLE
-
MDL-39339_master -
The zip_archive class should ignore OS files like
- Thumbs.db (Windows)
- .DS_Store (Mac OS)
- __MACOSX (Mac OS)
- Possibly others, but nobody seems to know of any right now (and no good list has been found)
as typical users do not see these files or know that they exist. Their presence in uploaded zip files may cause issues in some automated processing situations, or may cause confusion for users who do not know what they are or where they have come from.
This will be beneficial in places such as:
- Folder drag/drop (drop a zip in and extract to a Folder resource)
- Uploading and extracting zip files into file managers / file pickers
- Bulk-uploading feedback files for assignments (particularly useful in conjunction with
MDL-39359- OSX tends to put its files in the root of the zip, which can mess up the checks done there) - Anywhere else that zip_archive is used