thunderbird / thunderbird/thunderbird-android

Text inserted in wrong place when replying (including quoted text) to message from AOL Android

Open
#4,237 5 comments 0 reactions 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

When replying to an email sent by AOL Android that is itself a reply, the text of the reply I type, followed by the prefix or header (depending on the "Reply quoting style" setting) are not placed before the quoted AOL message. Instead, they are inserted inside the quoted AOL message after its first reply header.

Expected behavior

Text of reply, followed by the prefix/header created by K9, precede the entire quoted message.

Actual behavior

Text of reply, followed by the prefix/header created by K9, are inserted into the quoted message after the first reply header it contains.

Steps to reproduce
  1. Send a message to an AOL email account.
  2. Using the AOL Android app, reply to the message.
  3. Using the K9 Android app, reply to the reply. Observe that in this reply, K9 inserted the reply and header after the header contained in the AOL reply, not before the AOL reply.

The following (a decoding of the quoted-printable content sent by K9) shows the result of this test:

  • john@fastmail.net SENDS TO bruce@aol.com
  • bruce@aol.com (using AOL Android) REPLIES TO john@fastmail.net (at November 5, 2019 5:06:07 PM EST)
  • john@fastmail.net (using K9) REPLIES TO bruce@aol.com

The first reply, using the AOL Android app.




On Tuesday, November 5, 2019 John A <john@fastmail.net> wrote:

The second reply, using K9.


From: Bruce B <bruce@aol.com>
Sent: November 5, 2019 5:06:07 PM EST
To: john@fastmail.net
Subject: RE: Test message

This is the original message.
Environment

K-9 Mail version: 5.600

Android version: 8.0.0

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

Example AOL mailers:

  • X-Mailer: WebService/1.1.13913 aolandroid Mozilla/5.0 ...
  • X-Mailer: WebService/1.1.14680 aolandroid Mozilla/5.0 ...

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. Start by reproducing the AOL Android reply case through K-9's reply and quoting flow, then trace where the reply text and header are inserted relative to the quoted message. Done means the reply text and K-9 header precede the entire quoted AOL message under both quoting-style settings.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.