Opened 6 weeks ago

Last modified 5 weeks ago

#19354 new bug

Mail app does not decode HTML attachments when opening with default app

Reported by: grexe Owned by: nobody
Priority: normal Milestone: Unscheduled
Component: Applications/Mail Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

I have observed a pesky little issue that can lead to hard to spot trouble later. When a mail message contains HTML attachments, they are handled differently on download vs open:

  • on download, they are correctly decoded, so the source of a HTML page looks good in WebPositive
  • when you directly open it, it is still shown correctly in WebPositive, but not decoded (as can be verified by inspecting the HTML page source again - you even see the entire mail message including headers!)

HTML attachments should *always* be decoded when going to an external application, same as when downloading it.

Change History (3)

comment:1 by nephele, 6 weeks ago

what do you mean by decoding? The transfer encoding used by MIME or something else?

comment:2 by waddlesplash, 6 weeks ago

Component: ApplicationsApplications/Mail
Keywords: Mail removed

comment:3 by grexe, 6 weeks ago

Yeah the RFC 1341 encoding. There's a method in BMail API for this and it's probably missing in that spot. I can tackle this along with #18386.

Last edited 5 weeks ago by grexe (previous) (diff)
Note: See TracTickets for help on using tickets.