thunderbird / thunderbird/thunderbird-android

K9 doesn't allow email address with apostrophe

Open
#2,781 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

When creating a new account, K9 doesn't allow email addresses with apostrophe.

Expected behavior

We should be able to add an account for an email address containing an apostrophe.

Actual behavior

The buttons are disabled, we can't continue.

Steps to reproduce
  1. Try to add a new account with an apostrophe inside the email address ;
  2. See the buttons which are disabled.
Environment

K-9 Mail version: 5.208

Android version: 5.1.1

Account type (IMAP, POP3, WebDAV/Exchange): Exchange

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 tracing the new-account flow in K-9 Mail's Android code, focusing on email validation and the logic that enables or disables the account setup buttons. Reproduce the issue with an apostrophe in an Exchange email address, then run the relevant account-creation tests and verify that setup can continue for that address.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.