Bug 286025

Summary: KMail2 does not properly quote long lines in a base64 message when replying
Product: [Applications] kmail2 Reporter: Thomas Zell <t.zell>
Component: composerAssignee: kdepim bugs <kdepim-bugs>
Status: CONFIRMED ---    
Severity: normal CC: arthur, kdenis, mail, montel
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Quoted message
Original message
Example E-Mail

Description Thomas Zell 2011-11-07 18:07:14 UTC
Created attachment 65359 [details]
Quoted message

Version:           4.7 (using KDE 4.7.3) 
OS:                Linux

When replying to a mail with long lines that is base64 encoded, KMail2 does not properly handle lines following a long line. The first part of the next line is note quoted at all, and the rest is quoted correctly after a spurious newline is inserted.

This only happens with 'smart quoting' enabled.

Reproducible: Always

Steps to Reproduce:
1. enable 'use smart quoting'
2. Hit 'reply' on a base64 message with long lines.

Actual Results:  
Quotation is garbled in each line following a long line.

Expected Results:  
Lines following long lines should be quoted normally and not broken in half.
Comment 1 Thomas Zell 2011-11-07 18:07:55 UTC
Created attachment 65360 [details]
Original message
Comment 2 Thomas Zell 2011-11-07 18:11:32 UTC
Created attachment 65362 [details]
Example E-Mail
Comment 3 Laurent Montel 2011-11-08 11:17:43 UTC
I can confirm it
Comment 4 Denis Kurz 2016-09-24 17:53:52 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 5 Patrick 2016-09-24 19:04:44 UTC
Not reproducible in 5.3.0 (KF 5.26.0).
Comment 6 Thomas Zell 2016-11-16 20:54:20 UTC
I do not agree, this is still reproducible in 5.3.0 (KF 5.26.0)
Comment 7 Denis Kurz 2017-01-08 00:16:16 UTC
Confirmed due to comment 6