Bad phone/email parsing in hCard when type attributes present

RESOLVED WONTFIX

Status

Mozilla Labs
Operator
RESOLVED WONTFIX
8 years ago
9 months ago

People

(Reporter: Saikat Guha, Assigned: mkaply)

Tracking

Details

(URL)

(Reporter)

Description

8 years ago
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)
(Assignee)

Comment 1

9 months ago
Operator isn't supported anymore.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 months ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.