thunderbird / thunderbird/thunderbird-android

k9 cannot parse utf-8 sequence containing square brackets in e-mail address

Open
#3,507 0 comments 1 reaction 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

Expected behavior

Receiving e-mail from tätu [example.com] <sender@example.com> and expecting the sender name and e-mail address being displayed. In addition I expect to be able to respond to that e-mail.
The From header is formed as: From: =?UTF-8?Q?t=c3=a4tu_[example.com]?= <sender@example.com>

Actual behavior

The sender is shown as null. Responding to such e-mail is not possible. The e-mail is kept in the local Drafts folder. The user does not know about this until he opens the Drafts folder.

Steps to reproduce
  1. Compose an e-mail having an utf-8 sequence in the From header containing square brackets.
  2. Send it to an account having k9 installed
  3. Fetch the e-mail with k9
Environment

K-9 Mail version:
5.403

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

No source file or test is named in the report. Reproduce the message using the provided From header and trace the sender parsing and reply flow; done means the sender name and address are displayed and replying no longer leaves the message in Drafts.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.