Closed Bug 566227 Opened 14 years ago Closed 7 years ago

Bad phone/email parsing in hCard when type attributes present

Categories

(Mozilla Labs :: Operator, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: guhasaikat, Assigned: mkaply)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100330 Fedora/3.5.9-2.fc12 Firefox/3.5.9
Build Identifier: 0.9.5.1

When type attributes are present in email or phone attributes, the values of the type attributes are appended to the actual email address or phone number when exporting to vCard.

Reproducible: Always

Steps to Reproduce:
1.Visit http://saikat.guha.cc
2.Export contact to vCard
Actual Results:  
 EMAIL;TYPE=pref,internet:pref internet ***@***.***.edu
 EMAIL;TYPE=internet:internet ***@***.com
 TEL;TYPE=work,voice,pref:work voice pref +91 (80) **** ****

Expected Results:  
 EMAIL;TYPE=pref,internet:***@***.***.edu
 EMAIL;TYPE=internet:***@***.com
 TEL;TYPE=work,voice,pref:+91 (80) **** ****

Other parsers seem to correctly handle the markup.
(e.g. http://microformatique.com/optimus/?format=validate&uri=saikat.guha.cc)
Operator isn't supported anymore.
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.