Review Request 125507: Fix header encryption in cli7z

Elvis Angelaccio elvis.angelaccio at kdemail.net
Sat Oct 3 16:59:26 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125507/#review86303
-----------------------------------------------------------

Ship it!



kerfuffle/cliinterface.cpp (line 369)
<https://git.reviewboard.kde.org/r/125507/#comment59451>

    QLatin1String -> QStringLiteral


- Elvis Angelaccio


On Oct. 3, 2015, 4:48 p.m., Ragnar Thomsen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125507/
> -----------------------------------------------------------
> 
> (Updated Oct. 3, 2015, 4:48 p.m.)
> 
> 
> Review request for KDE Utils and Elvis Angelaccio.
> 
> 
> Repository: ark
> 
> 
> Description
> -------
> 
> 7z gives an error when using the header encryptions switch (`-mhe=on|off`) with archive types that don't support header encryption such as zip. This results in Ark failing to create new zip archives with cli7z.
> 
> This is now fixed by setting `$EncryptHeaderSwitch` to empty when header encryption is off, instead of `-mhe=off`.
> 
> This patch also fixes `CreateDialog::isHeaderEncryptionChecked()` to only return true if `encryptHeaderCheckBox` is both enabled and checked, instead of just checked.
> 
> 
> Diffs
> -----
> 
>   kerfuffle/cliinterface.cpp f94bc35 
>   kerfuffle/createdialog.cpp 4fb40c5 
>   plugins/cli7zplugin/cliplugin.cpp 90e5bdc 
> 
> Diff: https://git.reviewboard.kde.org/r/125507/diff/
> 
> 
> Testing
> -------
> 
> * Create new zip archive with/without encryption works.
> * Create new 7z archive with/without header encryption works.
> 
> 
> Thanks,
> 
> Ragnar Thomsen
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-utils-devel/attachments/20151003/1e83c81c/attachment.html>


More information about the Kde-utils-devel mailing list