thunderbird / thunderbird/thunderbird-android

HTML shown as attachement on Android

Open
#11,249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Checklist
  • I have used the search function to see if someone else has already submitted the same bug report.
  • I will describe the problem with as much detail as possible.
App

Thunderbird for Android

App version

20.0

Where did you get the app from?

Google Play

Android version

16

Device model

oneplus

Steps to reproduce

HTML email that is encoded like

Content-Type: text/html; charset=UTF-8;
	name=attachment-7e164bea-130d-4de5-9739-4684fca12345
Content-Transfer-Encoding: base64
Content-Disposition: inline;
	filename=attachment-7e164bea-130d-4de5-9739-4684fca12345

does not render inline. Instead, it is displayed as an attachment without file extension. This might explain why it is not rendered.

Viewing the attachment in Firefox reveals the text.

The same email displays well on my Thunderbird desktop 140.12.1esr

Expected behavior

Display HTML text inline.

Actual behavior

Not rendered inline. Instead, it is displayed as an attachment without file extension.

Logs

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in Thunderbird for Android using the supplied MIME headers and trace the message-viewing path that distinguishes inline HTML from attachments. Confirm the message renders HTML inline rather than as an extensionless attachment, and add or update a regression test covering this MIME shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.