Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#1486820 closed Bugs (worksforme)

not recognized HTML message

Reported by: nereusz Owned by:
Priority: 5 Milestone: 0.4-stable
Component: MIME parsing Version: 0.3.1
Severity: normal Keywords: html
Cc:

Description

I received emial in HTML format. Roundcube 0.3.0 worked fine and recognized and displayed message correctly. But since 0.3.1 version RC displays HTML tags instead of HTML message. The same problem is with latest 0.4 beta version. I'm including the message with obscured personal data.

Attachments (2)

source.txt (11.0 KB) - added by nereusz 3 years ago.
imap.txt (15.7 KB) - added by nereusz 3 years ago.

Download all attachments as: .zip

Change History (10)

Changed 3 years ago by nereusz

comment:1 Changed 3 years ago by SKaero

Have you tried the SVN?

comment:2 Changed 3 years ago by alec

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

Works for me with svn-trunk version.

comment:3 Changed 3 years ago by nereusz

  • Resolution worksforme deleted
  • Status changed from closed to reopened

I can't agree. Today I tried latest nigtly and SVN trunk. Unfortunately message is NOT recognized correctly even with svn-trunk version [02cc63c5]. Problem still exists.

comment:4 Changed 3 years ago by alec

Describe your environment, IMAP, PHP, OS, versions, etc. Enable imap_debug and attach BODYSTRUCTURE response here.

comment:5 Changed 3 years ago by nereusz

Courier IMAP Server, Debian 5.0, PHP Version 5.2.9. Attached full communication during fetching that one message in imap.txt file.

Changed 3 years ago by nereusz

comment:6 Changed 3 years ago by alec

  • Resolution set to worksforme
  • Status changed from reopened to closed
("text" "plain" NIL NIL NIL "quoted-printable" 9209 122 NIL NIL NIL)

it's definitely wrong and I don't know why. Courier sucks. Dovecot returns proper structure.

("text" "html" ("charset" "utf-8") NIL NIL "quoted-printable" 10305 138 NIL ("inline" NIL) NIL NIL)

comment:7 Changed 3 years ago by nereusz

Ok. I understand that courier can have bug. But the problem appears only from 0.3.1 version. Before that everything worked fine. Can you tell me what changed in webmail due to this behaviour and what can I do to get back to previous Roundcube behaviour? Changing IMAP server is no option.

comment:8 Changed 3 years ago by alec

I cannot imagine how this could be possible with previous versions and the same structure result. The only solution would be to parse the whole message on Roundcube side, but this definitely wouldn't be a simple fix.

Note: See TracTickets for help on using tickets.