Bug 413022

Summary: decrypting mail (via filter) removes From/To mail headers
Product: [Applications] kmail2 Reporter: Martin Koller <kollix>
Component: cryptoAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.12.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Martin Koller 2019-10-16 08:47:54 UTC
SUMMARY
I received a crypted mail.
In then message list I right-click on that mail and select "copy decrypted mail to ..." some folder.
The resulting decrypted copied mail no longer has a "From:" nor a "To:" Header.
All other headers seem to be still there and with correct content

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSuse Tumbleweed 20191012
KDE Frameworks 5.62.0
Qt 5.13.1 (built against 5.13.1)
The xcb windowing system
Comment 1 Martin Koller 2020-04-04 18:42:34 UTC
Git commit 0628360b2240fda1be54e38abd46865707666c2c by Martin Koller.
Committed on 04/04/2020 at 18:40.
Pushed by mkoller into branch 'release/20.04'.

do not lose address headers when decrypting mail

Differential Revision: https://phabricator.kde.org/D28399

M  +1    -1    src/filter/autotests/gpgdata/text-plain.msg
M  +1    -1    src/filter/autotests/gpgdata/text-plain.msg.pgp
M  +1    -1    src/filter/autotests/gpgdata/text-plain.msg.smime
M  +1    -1    src/util/cryptoutils.cpp

https://commits.kde.org/mailcommon/0628360b2240fda1be54e38abd46865707666c2c