Opened 7 years ago

Closed 6 years ago

Last modified 5 years ago

#1484045 closed Bugs (fixed)

message/rfc822 attachment problem

Reported by: mido Owned by: attachment
Priority: 9 Milestone: 0.1-rc1
Component: Client Scripts Version: 0.1-beta2
Severity: major Keywords: rfc822
Cc:

Description

There is a problem with message/rfc822 (forward with mail attachment) attachment.
Wrong display. There are two mail headers: the real one from forward and header form attachment, but without any content of the attached mail.

Attachments (2)

message.txt (2.5 KB) - added by bumpus 6 years ago.
Message with the problem
message.png (18.9 KB) - added by bumpus 6 years ago.
Screen shot of problem message. Red text is my comment added in photoshop.

Download all attachments as: .zip

Change History (9)

comment:1 Changed 7 years ago by awheeler

I was able to fix this by changing line 878 of file:

program/steps/mail/func.inc

from

else if ($message_ctype_primary=='multipart' && is_array($structure->parts))

to

else if (($message_ctype_primary=='multipart'||$message_ctype_primary=='message') && is_array($structure->parts))

comment:2 Changed 7 years ago by awheeler

It looks like this has been fixed in the SVN repository by only looking at $structure->parts:
http://trac.roundcube.net/trac.cgi/browser/trunk/roundcubemail/program/steps/mail/func.inc
Line 906.

comment:3 Changed 7 years ago by jpingle

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

Appears to be fixed. Reopen if the problem persists.

comment:4 Changed 6 years ago by bumpus

  • Resolution fixed deleted
  • Status changed from closed to reopened

This problem still appears in Changeset 420

comment:5 Changed 6 years ago by thomasb

Could you please provide a sample message.

Changed 6 years ago by bumpus

Message with the problem

comment:6 Changed 6 years ago by bumpus

Sorry it took me so long to get back to this. To create this message I sent myself a message in Roundcube, then forwarded the message to myself in Thunderbird. By default Thunderbird forwards as an attachment as shown in the attached file. Also attached is a SS of how the message displays in Roundcube [462a9d99] with Firefox 2.0. View source in the browser indicates that the body of the message is not present so probably not a browser problem.

Changed 6 years ago by bumpus

Screen shot of problem message. Red text is my comment added in photoshop.

comment:7 Changed 6 years ago by thomasb

  • Milestone set to 0.1-rc1
  • Resolution set to fixed
  • Status changed from reopened to closed

Fixed in trunk ([5cc4b13a]).
Upladed message to testing repository (multipart/20070319_233121_1.txt)

Note: See TracTickets for help on using tickets.