thunderbird / thunderbird/thunderbird-android

Better handle improperly formatted addresses in header fields (From, To, Cc, …)

Open
#4,064 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
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
Screenshot_20190522-194451~2
Screenshot_20190522-194503~2
Screenshot_20190522-194519~2

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

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.