https://bugs.kde.org/show_bug.cgi?id=376287

            Bug ID: 376287
           Summary: multipart/related with text/html should not hide all
                    other parts
           Product: trojita
           Version: git
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Core
          Assignee: trojita-b...@kde.org
          Reporter: j...@kde.org
  Target Milestone: ---

A new bank just started sending me e-mails like this one:

Content-Type: multipart/related; 
        boundary="----=_Part_6487_1186403229.1486732952500"

------=_Part_6487_1186403229.1486732952500
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

[html stuff here]
------=_Part_6487_1186403229.1486732952500
Content-Type: application/pdf; 
        name="... .pdf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; 
        filename="... .pdf"

[PDF]
------=_Part_6487_1186403229.1486732952500--

Unfortunately, our MIME interpreter deems stuff which is nested in the same
layer as the main HTML part within a multipart/related container to be a part
of the HTML message.

In this case, we should take a hint of the Content-Disposition header at least.
Our code also already correctly handles the attachment icon in the message
listing.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to