Closed
Bug 766679
Opened 13 years ago
Closed 13 years ago
When saving received html message as *.html, embedded inline images go missing (img src points to user's mailbox instead of data URI)
Categories
(Thunderbird :: General, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 164154
People
(Reporter: a0005408, Unassigned)
Details
(Keywords: testcase)
Attachments
(4 files)
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Build ID: 20120614114901
Steps to reproduce:
Started Thunderbird in safe mode.
View > Message Body As > is set to Original HTML.
I received a html message with one embedded and one remote image.
Saved the message as *.html (menu > file > save as > html or right click menu).
Opened the html file in firefox.
Actual results:
In the message you can only see the remote image, but not the embedded one.
Instead of the image you see the place-holder and the image name.
Expected results:
You should see both images the remote and the embedded one.
You can make the same test with just the embedded image. Same result.
Same results sending a html email to myself.
Comment 1•13 years ago
|
||
Bernd, can you save sample msg as "All files" with extension ".eml", then edit with text editor to replace private data as required, then add the .eml file to this bug?
Keywords: testcase-wanted
Updated•13 years ago
|
Summary: When saving received html messages as *.html, don't show embedded images → When saving received html message as *.html, embedded inline image is missing
OK. I added the wished *.eml. Strange that now in the EML you can see the embedded image but not the remote image.
Updated•13 years ago
|
Attachment #635019 -
Attachment description: TB13_html.png → Screenshot 1: Msg with missing inline img (but remote img is ok, per comment 0)
Updated•13 years ago
|
Attachment #635734 -
Attachment description: sample message as EML as wished by Thomas D. → Testcase1.eml: sample message as wished by Thomas D.
Comment 3•13 years ago
|
||
(In reply to Bernd from comment #2)
> Created attachment 635734 [details]
> Testcase1.eml: sample message as wished by Thomas D.
:) Bernd, thanks for testcase1.eml of attachment 635737 [details] [diff] [review].
> OK. I added the wished *.eml. Strange that now in the EML you can see the
> embedded image but not the remote image.
Remote img link in testcase 1 is broken (due to anonymization):
> src="http://home.arcor.de/xxxxxxxx/Oeffentlich/xpfirewall.jpg"
And the embedded image disappears when saving the msg as HTML, as described in comment 0 -> Confirming.
Comment 4•13 years ago
|
||
This is a corrected and annotated version of Testcase1.eml.
STR (for Testcase1b.eml):
1) Message > Copy To > TB folder, then (for that msg from folder):
2) File > Save As > File
- File Type: HTML files
- File Name: add .html as file extension
3) Open resulting .html file with FF, and stare
Actual Result:
a) Inline images are missing from msg saved in HTML format (this bug)
b) resulting HTML file is very messed-up (e.g. multiple <HTML> tags)
a) inline images are missinig because TB does not convert them into Data URIs (<img src="data:..."); instead, TB creates links into the user's mailbox (omg!):
> <img alt="Image2" src="mailbox-
> message://user@asdf.com@pop.asdf.com/Inbox
> /TestFolder#5022007?header=saveas&part=1.1.2&filename=background_rainbow.jpg"
> height="594" width="720"><br>
Expected Results:
a) when saving msg as HTML, convert inline images into DATA URIs (it's absolutely useless to point img src to the user's mailbox)
b) produce correct HTML to represent the multipart structure
Updated•13 years ago
|
Keywords: testcase-wanted
Comment 5•13 years ago
|
||
This is the sad and broken result of saving Testcase1b.eml as HTML file, as described in my comment 4.
Updated•13 years ago
|
Summary: When saving received html message as *.html, embedded inline image is missing → When saving received html message as *.html, embedded inline images go missing (img src points to user's mailbox instead of data URI)
Comment 6•13 years ago
|
||
...and if TB hasn't died, bugs will live happily ever after... :|
Status: UNCONFIRMED → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•