49                 $zip_file_path = $stream->getMetadata(
'uri');
    50                 $zip = new \ZipArchive();
    51                 $zip->open($zip_file_path);
    53                 for ($i = 0; $i < $zip->numFiles; $i++) {
    54                     $original_path = $zip->getNameIndex($i);
    65         if (!$this->
checkPath($metadata->getFilename())) {
    74         return $this->isMimeTypeOrExtension(
    77             [
'application/zip', 
'application/x-zip-compressed']
 
Class InsecureFilenameSanitizerPreProcessor. 
 
const REJECTED
Upload got rejected by a processor. 
 
const PENDING
Upload is pending. 
 
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
 
isFileAZip(Metadata $metadata)
 
process(FileStream $stream, Metadata $metadata)
This method gets invoked by the file upload service to process the file with the help of the processo...