Closed Bug 385197 Opened 18 years ago Closed 16 years ago

embedded image of the attached HTML signature fail to display in email composition window (invisible image)

Categories

(Thunderbird :: Message Compose Window, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: radomirs.cirskis, Unassigned)

References

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4; .NET CLR 2.0.50727) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: 2.0.0.4 (20070604) Embedded image of the attached HTML signature fail to display in email composition window. Recipients receive messages with embedded image that shows up correctly. The image is properly embedded and shows up correctly in the sent items folder, but I am not able to preview the image in the composition window. NB! 1.5.x was OK. Reproducible: Always Steps to Reproduce: 1.after installing TB 2.0.0.0; 2.compose a new message; 3.new message is created with attached signature, but the embedded image doesn't show up in the composition window. Actual Results: The embedded image doesn't show up in the composition window. Recipients receive messages with embedded image that shows up correctly. Expected Results: A message with an embedded image. My attached HTML signature: ----------------------------------------------------- <div> <p style="margin-top: 0pt; margin-bottom: 0pt;"> &nbsp;<font color="black" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="lv-LV">Ar cieņu,</span></font></p> <p style="margin-top: 0pt; margin-bottom: 0pt;"><font color="black" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;" lang="lv-LV"></span></font> <span style='position:relative;z-index:1'> <span style='position:absolute;left:-34px;top:-36px;'> <img src="data:image/gif;base64,R0lGODlhBgFcAKUhAAAAAAAAMzMAADMAMwAzM2YAMzMzADMzMzMzZmYzM2YzZjNmZpkzZmZmZmZmmZlmZplmmWaZmZmZZpmZmZmZzMyZmcyZzJnMzP+ZzMzMmczMzMzM///MzP/M/8z/zMz/////zP///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////yH5BAEKAD8ALAAAAAAGAVwAAAb+wJ9wSCwaj8ikcslsOp/QqHRKrVqv2Kx2y+16v+CweEwum8/otHrNbrvf8Lh8Tq9zQR/Nj2Pv+/9dGh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f87LG/oSHdVDqTDQggIiHFbD14pAWPckobbBUtGfjpBZHos1X4EFKmzKFaP3APDeHjQl+OoYos1dYOiQKPSn/LkGWdwRt7Je46CHIGJipXIwcIbVoBIN3nVkMw+uqbdTUSFTJUabs5mY4Yjght3oxYDAzkmGd5G+KTL2xlvUiZXyCUCt+UmDZn9K2vRlzSV606V79IWWVgj0AOiAI4JRdBqVYp0d8DN4Qc1ASQMFrpYKRIQBsHqEsGfPM3/9C2wizSwJPG5J6uHSI1FAaxgti4gQGr+MUwdmkQAAA7" alt="R.Cirskis.GIF" /></img> </span> </span> </p> <p style="margin-top: 0pt; margin-bottom: 0pt;"><font size="2"><span style="font-family: Arial;">Radomirs Cirskis</span></font></p> <p class="MsoNormal" style="margin-top: 0pt; margin-bottom: 0pt;"> <font color="#808080" face="Tahoma" size="1"> <span style="font-size: 8pt; font-family: Tahoma;">Mobile: +371-29231321</span></font> </p> <p style="margin-top: 0pt; margin-bottom: 0pt;"> <font color="#808080" face="Tahoma" size="1"> <span style="font-size: 8pt; font-family: Tahoma;">Email:&nbsp;</span></font><font color="black" face="Tahoma" size="1"><a href="mailto:radomirs DOT cirskis AT itkonsultants DOT eu"> <span style="font-size: 8pt; font-family: Tahoma;"><font color="#808080">radomirs DOT cirskis AT itkonsultants DOT eu</font></span></a></font></p> <p class="MsoNormal" style="margin-top: 0pt; margin-bottom: 0pt;"><span style="font-size: 8pt; font-family: Tahoma;"> <font color="#808080" face="Tahoma" size="1">Web:&nbsp;</font><font color="black" face="Tahoma" size="1"><a href="http://nad2000.googlepages.com"> <font color="#808080">http://nad2000.googlepages.com</font></a></font></span></p> --------------------------------------------------------------------------------
Attached file HTML signature file (deleted) —
Confirmed on Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a6pre) Gecko/20070621 Thunderbird/3.0a1pre ID:2007062103 Guess it's because it's a src="data:..." image.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Hardware: PC → All
If you add new property "network.protocol-handler.expose.data", and set its value to "true", then it will work. This will by-pass some weird TB security code related to composer window.
I have the same problem but it only happens if I'm forwarding or replying a message. If it's a new one, the attached HTML signature image (Jpeg) shows correctly. The image shows like this in my signature file: <img moz-do-not-send="false" alt="<Name>" title="<Name>" src="file:///<Path>" height="35" width="108"><br> TB 2.0.0.19 (20081209) pt-BR - Win2k SP4 en-US
(In reply to comment #5) > I have the same problem but it only happens if I'm forwarding or replying a > message. If it's a new one, the attached HTML signature image (Jpeg) shows > correctly. > The image shows like this in my signature file: > > <img moz-do-not-send="false" alt="<Name>" title="<Name>" > src="file:///<Path>" height="35" width="108"><br> > > TB 2.0.0.19 (20081209) pt-BR - Win2k SP4 en-US Add new property "network.protocol-handler.expose.file", and set its value to "true", then it will work. This will by-pass some weird TB security code related to composer window.
(In reply to comment #6) Yes, I saw it in Comment #4, but it didn't work for me. I created the key, set the value and replied/forwarded messages without being able to see the image embedded in my signature.
(In reply to comment #7) > (In reply to comment #6) > Yes, I saw it in Comment #4, but it didn't work for me. I created the key, set > the value and replied/forwarded messages without being able to see the image > embedded in my signature. @$#%^ !!! Read carefully, please! in #4 there is "network.protocol-handler.expose.data", which is releated to "data:" URLs, in #6 there id "network.protocol-handler.expose.file", which is releated to "file:" URLs, in other words to files loaded from local drives. I use both of them in my extension, to make my life with HTML easier.
This works for me on Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090113 Lightning/1.0pre Shredder/3.0b2pre The problem with the 2.x and early 3.0x builds is that we weren't allowing the data or file urls to be loaded in the content policy. We've now fixed that in bug 429817, Thunderbird 3 beta 1 already has the fix. Therefore I'm marking this fixed as a result of bug 429817 (as it is not quite a duplicate).
Status: NEW → RESOLVED
Closed: 16 years ago
Depends on: 429817
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: