Bug 286025 - KMail2 does not properly quote long lines in a base64 message when replying
Summary: KMail2 does not properly quote long lines in a base64 message when replying
Status: CONFIRMED
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: 5.3.0
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-07 18:07 UTC by Thomas Zell
Modified: 2017-01-08 00:16 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Quoted message (3.36 KB, image/png)
2011-11-07 18:07 UTC, Thomas Zell
Details
Original message (2.86 KB, image/png)
2011-11-07 18:07 UTC, Thomas Zell
Details
Example E-Mail (816 bytes, application/mbox)
2011-11-07 18:11 UTC, Thomas Zell
Details

Note You need to log in before you can comment on or make changes to this bug.
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