Closed Bug 312289 Opened 20 years ago Closed 20 years ago

Rendering of attached inline images in HTML mail fails when single quotes are used with src attribute

Categories

(Thunderbird :: Mail Window Front End, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 225245

People

(Reporter: bugs, Assigned: mscott)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc4 Firefox/1.0.7 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.10) Gecko/20050720 Thunderbird/1.0.6 Fedora/1.0.6-1.1.fc4 If a HTML mail is received with inline images *which are attached to the mail* (i.e. where the image src attribute is "cid:..."), Thunderbird fails to render the images if single quotes are used with the src attribute. It instead shows the attached image as an "attachment". Reproducible: Always Steps to Reproduce: 1. View attached mail Actual Results: The inline image is not shown, and Thunderbird indicates an attached image. Expected Results: Display the image inline as normal. I have tested and this bug does not occur when rendering externally-referenced images (e.g. <img src='http://example.com/someimage.jpg'> works fine)
The attachment demonstrates the bug with a minimal testcase. Replacing the single quotes surrounding the contents of the image's src attribute with double quotes will make Thunderbird render the mail correctly.
Also confirmed on Win32 1.0 build.
OS: Linux → All
Version: unspecified → 1.0
From <https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html>: "[B]e sure to reproduce your bug using a recent build.... the bug you're reporting may already be fixed." "Recent build" does not mean 1.0.anything -- today, it means, at the very oldest, using 1.5b2, and preferably a trunk (1.6a) build. *** This bug has been marked as a duplicate of 225245 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: