[Bug 285301] New: Subject line in message list unescaped twice

Gunter Ohrner kdebugs at CustomCDROM.de
Sun Oct 30 09:57:03 GMT 2011


https://bugs.kde.org/show_bug.cgi?id=285301

           Summary: Subject line in message list unescaped twice
           Product: kmail2
           Version: 4.7
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: message list
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: kdebugs at CustomCDROM.de


Created an attachment (id=65035)
 --> (http://bugs.kde.org/attachment.cgi?id=65035)
Double-decoding of subject string in message list. The string as shown in the
message window is actually correct, as the subject was encoded twice by
accident.

Version:           4.7 (using KDE 4.7.2) 
OS:                Linux

The subject line display in the message list apparently gets unescaped /
decoded too often. I don't know if this could have negative effects if the
first decoding pass yields strings with special characters.
This seems to happen always.

Reproducible: Always

Steps to Reproduce:
I have some mails with a messed-up subject line that somehow got encoded twice
in quoted-printable encoding:

Subject:
=?UTF-8?Q?=3D=3Fiso-8859-15=3FQ=3FTODO!=5F=28update=29=5FWRT-Verfugebar?=
=?UTF-8?Q?keitsberechnung=5Fbeginnt=5Fzu=5Ffr=3DFCh=3F=3D?=


Actual Results:  
This string is (correctly) displayed as
"=?iso-8859-15?Q?TODO!_(update)_WRT-Verfugebarkeitsberechnung_beginnt_zu_fr=FCh?="
in the message header as shown in the message window. The outermost encoding
has been decoded, showing the embedded string which also is encoded.
The message list, however, shows a completely decoded string only containing
the original clear text, as if the subject had been encoded only once. (See
screenshot.)

Expected Results:  
The message list should show the subject the same way as the message window
does.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list