thunderbird / thunderbird/thunderbird-android
Better handle improperly formatted addresses in header fields (From, To, Cc, …)
Nobody has claimed this yet.
- Dominant language
- Kotlin
- Stars
- 14k
- Forks
- 2.8k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 57
Description
Expected behavior
Show sender from from field set in the header
Actual behavior
Null is shown



Steps to reproduce
Analyze mail headers https://lists.apache.org/api/source.lua/6e04ab58b0323afabc240255bd3420adf38c9e9bc7bf988947a61f23@%3Cdev.cxf.apache.org%3E or subscribe by dev-subscribe@cxf.apache.org and wait for a similar mail to arrive. It's not happening for every mail but I receive one every second week.
Environment
K-9 Mail version: 5.600
Android version: 8.1.0
Account type (IMAP, POP3, WebDAV/Exchange): IMAP
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the issue with the linked mail headers in the Android app, then trace the code that analyzes From, To, and Cc fields. Confirm how improperly formatted addresses are handled and add coverage if the relevant test location can be identified. Done means the sender is shown instead of null for the reported malformed headers without breaking valid messages.
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
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100