Open
Bug 126008
Opened 24 years ago
Updated 3 years ago
HTML in vcard fields evaluated
Categories
(MailNews Core :: MIME, defect)
MailNews Core
MIME
Tracking
(Not tracked)
NEW
mozilla1.2alpha
People
(Reporter: BenB, Unassigned)
References
Details
Reproduction:
1. In 4.x,
1. create a vcard for yourself with Title sat to "<i>Alert</i>"
2. set the "attach vcard" pref
3. send yourself a mail
2. In Mozilla, recieve the mail and view it.
Actual result:
You see "Alert" in italics
Expected result:
You see "<i>Alert</i>", not italics.
Additional Comments:
- You can do the same with <b>/bold
- vCards fields, are not HTML, I think. So, we render incorrectly.
- This is a loophole for bug 30888 / bug 108153, unless I add special guards
there.
Suggested fix:
Run the field through the TXT->HTMl converter before adding them to the page
| Reporter | ||
Comment 1•24 years ago
|
||
The same bug might be in the calendar converter.
Tetstcase vcard (126008.vcf, "text/x-vcard"):
begin:vcard
n:Bucksch;Ben
x-mozilla-html:TRUE
url:http://www.bucksch.com
adr:;;;;;;
version:2.1
email;internet:ben@bucksch.com
title:<i>alert</i>
note;quoted-printable:some notes here...=0D=0A=0D=0ATrying to use <b>html</b>
x-mozilla-cpt:;0
fn:Ben Bucksch
end:vcard
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2alpha
Comment 2•23 years ago
|
||
I recently received with a couple of GIFs in the vcard, along with a spec for a
background color of dark blue. The body of the e-mail was, as a result,
difficult to read. Had the sender used <body bgcolor="000000">, the text would
have been unreadable. Consider moving the target milestone. This would seem to
be a problem that should be addressed for the 1.0 branch.
Example vcard with balck background:
begin:vcard
n:Wunder;Tim
x-mozilla-html:TRUE
adr:;;;;;;
version:2.1
title:<body bgcolor="000000">Title
fn:Tim Wunder
end:vcard
Comment 3•22 years ago
|
||
re-assign to sspitzer
Assignee: GotFrenchFries → sspitzer
Status: ASSIGNED → NEW
Updated•21 years ago
|
Product: MailNews → Core
Comment 4•18 years ago
|
||
sorry for the spam. making bugzilla reflect reality as I'm not working on these bugs. filter on FOOBARCHEESE to remove these in bulk.
Assignee: sspitzer → nobody
| Assignee | ||
Updated•17 years ago
|
Product: Core → MailNews Core
Still seeing it as italics.
Thunderbird 52.0.1 (32-bit)
Windows 7 64-bit
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•