SMTP: non-ASCII sender names and subjects are sent as raw UTF-8
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 68/100
Research direction
Start with RequestEncoder and the existing encoder tests; the issue names both as the place to investigate. Check how the From display name and Subject are serialized, then add an encoder test using non-ASCII text. Done means the test verifies MIME encoded words for the display name and subject while leaving the email address outside the encoded word.
Written by the indexing model from the issue text.
Description
Summary
RequestEncoder writes the From display name and the Subject as they are. Non-ASCII text isn't encoded as
RFC 2047 encoded words, and the client doesn't use the SMTPUTF8 extension.
Evidence
An email from José Ñúñez <josé@example.com> with the subject Café meeting is sent with the headers
From: José Ñúñez <josé@example.com> and Subject: Café meeting as 8-bit text.
Impact
Servers and clients that expect 7-bit headers may reject the message, or show garbled names and subjects.
Suggested fix
Encode non-ASCII display names and the subject with MIME's String.headerEncoded() (keeping the address itself outside
the encoded word), or negotiate SMTPUTF8 when the server offers it. Add an encoder test with non-ASCII text.
- Dominant language
- Swift
- Stars
- 1.3k
- Forks
- 51
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 33
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from thunderbird/thunderbird-ios
-
Account: Authorization's description returns the stored credential, including the refresh tokenOpen
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
thunderbird/thunderbird-ios#666 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
thunderbird/thunderbird-ios#664 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
thunderbird/thunderbird-ios#658 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
thunderbird/thunderbird-ios#657 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
thunderbird/thunderbird-ios#647 ·
Maintainers usually reply within 1 day
All issues in thunderbird/thunderbird-ios
Similar issues
-
enhancement help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
heysidhant/appvanish#4 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
timfraedrich/OutRun#121 ·
-
deferred tooling
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
mauwii/pokerchipcase#157 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 78/100