Bug 136631

Summary: KMail does not handle multiline MIME content names correctly
Product: [Unmaintained] kmail Reporter: Ronny Standtke <Ronny.Standtke>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: example mail showing the problem

Description Ronny Standtke 2006-11-01 14:22:25 UTC
Version:           Unbekannt (using KDE 3.5.5, Debian Package 4:3.5.5a.dfsg.1-2 (testing/unstable))
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.17

I received a mail with an attachment that has a long file name. It is encoded like this
...
--------------070202080202080901050109
Content-Type: text/plain;
 name*0="PIN_Brief_box1@xx.xxx.43042443bf021c1e00000000_Konfigkarte.confi";
 name*1="guration.txt"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline;
 filename*0="PIN_Brief_box1@xx.xxx.43042443bf021c1e00000000_Konfigkarte.c";
 filename*1="onfiguration.txt"
...

In KMail the attachment reads "guration.txt". Looks like the first part of the name is ignored.
Comment 1 Philip Rodrigues 2006-11-01 18:18:55 UTC
Could you attach a mail that demonstrates the problem, so that others can reproduce it? Thanks!
Comment 2 Ronny Standtke 2006-11-28 18:15:21 UTC
Created attachment 18718 [details]
example mail showing the problem
Comment 3 Philip Rodrigues 2006-12-02 17:20:44 UTC
Confirmed on r605785 - retitling slightly
Comment 4 Philip Rodrigues 2007-01-15 22:06:52 UTC

*** This bug has been marked as a duplicate of 108091 ***