Bug 236346 - kmail: message window shows backslash for quoted-pairs
Summary: kmail: message window shows backslash for quoted-pairs
Status: RESOLVED FIXED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-04 18:29 UTC by Christoph Wickert
Modified: 2010-05-11 17:10 UTC (History)
0 users

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 Christoph Wickert 2010-05-04 18:29:49 UTC
Version:           kdepim-4.4.2-1.fc13.x86_64 (using KDE 4.4.2)
Compiler:          gcc-4.4.3-4.fc12.x86_64 
OS:                Linux
Installed from:    Fedora RPMs

Forwarded from https://issues.kolab.org/issue2524 which is already fixed in the e35 branch:

Looking at an email having the following header:
From: "foo bar \[baz\]" <foo.bar@example.com>

In the message list the backslashes and quotes are not shown (good), but in the
message window the quotes and backslashes are still shown. At least the
backslashes have to be removed according to RFC2822:

   Where any quoted-pair appears, it is to be interpreted as the text
   character alone.  That is to say, the "\" character that appears as
   part of a quoted-pair is semantically "invisible".
...
   Semantically, neither the optional CFWS outside of the quote
   characters nor the quote characters themselves are part of the
   quoted-string; the quoted-string is what is contained between the two
   quote characters.  As stated earlier, the "\" in any quoted-pair and
   the CRLF in any FWS/CFWS that appears within the quoted-string are
   semantically "invisible" and therefore not part of the quoted-string
   either.
Comment 1 Thomas McGuire 2010-05-10 23:04:04 UTC
Already fixed in trunk, as https://issues.kolab.org/msg23457 states.
Comment 2 Christoph Wickert 2010-05-11 16:59:45 UTC
This is fixed in enterprise, but I want this fix in stock KDE 4.4.x. If it was fixed in February, why do is I still see this bug in 4.4.2?
Comment 3 Thomas McGuire 2010-05-11 17:10:48 UTC
I didn't backport the fix from trunk to the 4.4 branch since it added some new API for kdepimlibs.
KMail 2 will have the fix, once released.