Bug 161557 - Wrong signature symbol "--" detection using "Content-Transfer-Encoding: QUOTED-PRINTABLE"
Summary: Wrong signature symbol "--" detection using "Content-Transfer-Encoding: QUOTE...
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: composer (show other bugs)
Version: 1.9.9
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-03 14:57 UTC by Iñaki Baz Castillo
Modified: 2009-05-14 13:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Iñaki Baz Castillo 2008-05-03 14:57:25 UTC
Version:           1.9.9 (using 3.5.9, Kubuntu (gutsy) 4:3.5.9-0ubuntu1~gutsy1~ppa1)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.22-14-generic

I've received a mail with this content:
**************************************************************
(Headers)
Mime-Version: 1.0
Content-Type: MULTIPART/MIXED;
  BOUNDARY="1926193751-1566499253-1209778611=:29983"
(HEaders)

--1926193751-1566499253-1209778611=:29983
Content-Type: MULTIPART/MIXED; BOUNDARY="1926193751-1566499253-1209778611=:29983"

  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--1926193751-1566499253-1209778611=:29983
Content-Type: TEXT/PLAIN; charset=X-UNKNOWN; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE

Hi --

On Sat, 3 May 2008, I=C3=B1aki Baz Castillo wrote:
blablabla...
blablabla...
blablabla...
**************************************************************


As you see the body starts with "Hi --". When I press "Reply" buttom the original content dissapears. I think it's matching "Hi --" as the signature symbol, that would be a bug since it must be a line just containing "--" (with no spaces or letters).

But in any other similar mail with content starting with "Hi --" I **do** see the content when replying. For example if I generate in Kmail a mail with body:

***********************
Hi --

blabla
blabla
***********************

and receive it, when pressing "Reply" I do see the content. Here the content format is:

Content-Type: text/plain;
  charset="utf-8"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


Maybe a problem with the content format of the first mail?
Comment 1 A. Spehr 2009-04-05 11:34:28 UTC
The correct delineator sig is dash/dash/space actually, not just dash/dash.
Comment 2 A. Spehr 2009-04-05 11:51:24 UTC
"-- \r\n"

Can't forget the end of the line. ;)
Comment 3 Jaime Torres 2009-05-14 13:13:36 UTC
Fixed with the same patch as bug 72316.