Closed Bug 2095417 Opened 7 days ago Closed 7 days ago

HTML message containing <img src="#"> redraws endlessly when viewed from an IMAP (Gmail) folder

Categories

(Thunderbird :: Message Reader UI, defect)

Thunderbird 160
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 2089523

People

(Reporter: studio3334+bugzilla, Unassigned)

Details

Attachments

(2 files)

Steps to reproduce

  1. Import the attached message (cf-test-M1_img-src-hash.eml) into an IMAP folder
    (Gmail account in my case) by dragging the .eml file onto the folder.
  2. Select the message so it is shown in the message pane.

Actual results

The message pane keeps redrawing/flickering continuously.
The same happens when the image is hidden with display:none
(second attachment, cf-test-M2_img-src-hash-hidden.eml).

Expected results

The message is displayed once and stays stable.

Additional information:

  • The message body is only: <img src="#" height="1">
  • Opening the same .eml via File > Open > Saved Message does NOT reproduce it.
  • View > Message Body As > Plain Text avoids the problem.
  • Removing the <img src="#"> element makes the problem go away.
  • Presumably "#" resolves to the message's own imap:// URL, and loading it as an image
    re-triggers message display, causing a loop (not verified).
  • Found in the wild in Cloudflare Email Routing notification emails, which include a hidden
    "Gmail spacer" image with src="#".
Status: UNCONFIRMED → RESOLVED
Closed: 7 days ago
Duplicate of bug: 2089523
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: