we've got a test where we test the detection of several files. Modern MS offices files are also recognized as zip archives. We use the extension detection to get around this.
This works as long as we have no real zip archive within the tests. Adding a zip increases the specifity for zip for all files, which means all office files are zips now.
I think the specifity always should start at a default value for every check.
Log in to post a comment.