Bug 142068 - Content-type: application/ms-word (not multipart) yields corrupt attachment
Summary: Content-type: application/ms-word (not multipart) yields corrupt attachment
Status: RESOLVED DUPLICATE of bug 143237
Alias: None
Product: kmail
Classification: Applications
Component: IMAP (show other bugs)
Version: 1.9.5
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
Depends on:
Reported: 2007-02-22 18:38 UTC by Neale Pickett
Modified: 2007-03-20 15:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description Neale Pickett 2007-02-22 18:38:47 UTC
Version:           1.9.5 (using KDE 3.5.5, Kubuntu (edgy) 4:3.5.5-0ubuntu3.1)
Compiler:          Target: powerpc-linux-gnu
OS:                Linux (ppc) release 2.6.17-10-powerpc

The following message is on my IMAP server.  It contains:

MIME-Version: 1.0
Content-Type: application/msword;
  name="030107 Agenda .doc"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="030107 Agenda .doc"
Subject: T-Board Agenda for March 1 Meeting

So basically, there is no text, only an attachment.  KMail renders this just fine, but when I save or open the attachment it gets severely truncated and (obviously) will not open in KWord or OpenOffice.

Here's the email:


Comment 1 Neale Pickett 2007-02-22 18:40:06 UTC
I guess I should note that I can save and view the attachment with SquirrelMail.  Haven't tried any other MUAs.
Comment 2 Thomas McGuire 2007-02-22 20:44:43 UTC
By "severely truncated", do you mean that the resulting files will be zero bytes big?
Comment 3 Neale Pickett 2007-02-22 21:42:27 UTC
Not quite *that* severe.

-rw-r--r-- 1 neale neale 70144 2007-02-22 13:41 030107 Agenda .doc
-rw------- 1 neale neale   612 2007-02-22 13:24 030107 Agenda (trunc).doc

The first one came from squirrelmail.  The second one came from KWord.
Comment 4 Thomas McGuire 2007-03-20 15:47:16 UTC

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