Open bondjimbond opened 7 years ago
Hm..... the unzipping is done within PHP, not by the unzip utility that comes with OSX, so I'm not sure that's the cause. Could be though since I do not understand The Ways of the Mac. Let me see if I can figure out how to troubleshoot this. I think all we need to do is not delete the temporary unpacked zip file and then look at it to confirm your suspicion.
Result of my iipqa run on a ZIP file: [2017-03-22 18:12:03] iipqa.WARNING: Invalid top-level zip structure for content model single in /Users/Brandon/sfuvault/Public uploads/3-UNBC.zip [] []
Zip file structure is correct - contains only XML files and object files, correctly named, no top-level directory before them.
Suspect this comes because iipqa unzips the Zip file before analyzing. In Mac OSX, unzipping a file creates a directory, which may be misinterpreted by iipqa as an enclosing top-level directory.