Diffusion Ark 16bb5d8acb30

clizip: fix list after adding files to encrypted archive

Authored by elvisangelaccio on Jul 17 2018, 8:42 PM.

Description

clizip: fix list after adding files to encrypted archive

zipinfo doesn't support the -P switch (since zip doesn't support
header-encryption), so running zipinfo with e.g. -P1234 fails.

This is a problem when we list the archive after adding new files, if the
archive has been created as encrypted. Due to this problem, the file is
actually added but the view doesn't show it.

This patch substitutes the password switch only if the plugin supports
header-encryption (regardless the actual encryption type of the
archive).

Details

Committed
elvisangelaccioJul 17 2018, 8:42 PM
Parents
R36:20c6faa54cc8: Stop ignoring compression options when dropping files
Branches
Unknown
Tags
Unknown
References
tag: v18.07.80