Failing to extract password protected archive (bad password) creates empty files
When using nautilus to extract a password protected archive (new func. from !682 (merged)), when bad password is given, a directory and a empty file from the encrypted archive is created anyway.
Affected version
nautilus-40.2-2
Steps to reproduce
- Make a password protected ZIP archive (can use nautilus to do that)
- Double-click the archive to extract it
- Give a wrong password and hit Extract
Current behavior
Correct dialog saying we entered a bad passphrase appears. But also in place of the archive, a directory with content of the archive appears as well - looks like that's first file from the archive with 0B size.
Expected behavior
Just the dialog appears. No extraction folder with no content is created.