Opened 3 years ago

Closed 3 years ago

#1488065 closed Bugs (fixed)

attachments getting corrupted

Reported by: sckramer Owned by:
Priority: 2 Milestone: 0.6-stable
Component: MIME parsing Version: git-master
Severity: major Keywords:
Cc:

Description

In the current svn (5154) PDF attachments are getting corrupted--

Attached is a zip file (password: 1234) with 3 examples: the original file, the file downloaded from outlook, the file downloaded form rc

the file was attached originally using outlook, so it's getting corrupted on the way out of rc.

Attachments (2)

attachment_examples.zip (9.9 KB) - added by sckramer 3 years ago.
{22B9AB41-29D1-4246-8AE7-2A46F91337BF}.zip (14.2 KB) - added by sckramer 3 years ago.
password: 1234

Download all attachments as: .zip

Change History (13)

Changed 3 years ago by sckramer

comment:1 Changed 3 years ago by sckramer

I've tested 3 browsers: IE9, Firefox 6.0.1, Chrome 14 latest

Tested on PHP 5.3.6, then upgraded to 5.3.8, no change.

Looks like Outlook causes it somehow, attaching the orig file with rc, it does not get corrupted.

Last edited 3 years ago by sckramer (previous) (diff)

comment:2 Changed 3 years ago by sckramer

  • Milestone changed from later to 0.6-stable

comment:3 follow-up: Changed 3 years ago by alec

Please, provide sample message (with the attachment) from Outlook. It is corrupted when viewing in rc or only after forward?

comment:4 in reply to: ↑ 3 Changed 3 years ago by sckramer

Replying to alec:

Please, provide sample message (with the attachment) from Outlook. It is corrupted when viewing in rc or only after forward?

it get's corrupted when viewing

comment:5 Changed 3 years ago by sckramer

...trying to download it as an eml from the rc interface, it stalls & never completes, I'll need to grab it serverside to attach...

Changed 3 years ago by sckramer

password: 1234

comment:6 Changed 3 years ago by alec

  • Component changed from Core functionality to MIME parsing

So, Outlook sends pdf files in quoted-printable encoding. I'll work on this.

comment:7 Changed 3 years ago by alec

Thunderbird 3.1 is also unable to display these files.

comment:8 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from new to closed

It was broken in [ad3c273c]. Fixed in [66a3b034].

comment:9 Changed 3 years ago by sckramer

*forwarding* any pdf attachment now results in it being corrupted-- even if not from outlook

comment:10 Changed 3 years ago by sckramer

  • Resolution fixed deleted
  • Status changed from closed to reopened

comment:11 Changed 3 years ago by alec

  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in [eeae0db1].

Note: See TracTickets for help on using tickets.