Skip to content

Conversation

@mikebq
Copy link

@mikebq mikebq commented Apr 6, 2018

Allows onEntry to receive an extra parameter that can be used to signal if the extraction should continue or fail. This allows onEntry to analyse the entry with libraries that return results in a callback and then signal wether extraction should continue or be cancelled. For example, using mmmagic to check that the contents of a zip are of certain file types. Useful if you are receiving untrusted zip files and want to ensure that they only contain certain types of files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant