Home GnuPG
Diffusion GpgOL 149a0928250a

Be more lenient with broken PGP Inline messages

Description

Be more lenient with broken PGP Inline messages

* src/mimedataprovider.cpp (MimeDataProvider::collect_data):
Fix up PGP Messages.

In the Outlook world sometimes messages are rewritten / converted
to HTML and then converted back to Plaintext etc.
This can lead to broken PGP Messages where there is extra
whitespace. We now fix up the whitespace and remove comments
in the Mimedataprovider in the spirit of trying to accept
as much input as possible.

Details

Provenance
aheineckeAuthored on Mar 6 2018, 9:02 AM
Parents
rOba9ffe523a08: Add trim and ltrim to cpphelp
Branches
Unknown
Tags
Unknown
Tasks
T3821: GpgOL: Ignore empty lines in PGP Inline messages