GpgOL: Ignore empty lines in PGP Inline messages
Closed, ResolvedPublic


I received a debug log that contained a message which could resulted in a "No Data "error in GpgOL. The message contained multiple newlines in the plain body part for each newline.
Our parser could filter out empty lines in a PGP MESSAGE to be more robust and accept such broken input.


Version: Encryption Desktop 10.4.1 (Build 759)

Comment: ....

Charset: utf-8




aheinecke created this task.Mar 2 2018, 3:35 PM
aheinecke closed this task as Resolved.Mar 8 2018, 8:41 AM

As this is easy to test and I tested it myself I think I can mark it as resolved.

For Perfomance reasons the fixup is only done on messages that are smaller then < 100k as we can't really determine in the parser if we are looking at a PGP/MIME Message or a PGP/Inline message and the fixup has a bit overhead.