Closed
Bug 1049427
Opened 11 years ago
Closed 7 years ago
ORG fields containing commas show up escaped ("\,") after import
Categories
(Firefox OS Graveyard :: Gaia::Contacts, defect)
Firefox OS Graveyard
Gaia::Contacts
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: wacker, Unassigned)
Details
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Firefox/31.0 (Beta/Release)
Build ID: 20140716183446
Steps to reproduce:
- Have a contact with "FZI, PDE" as company name in OS-X Contacts on Desktop.
- Export in vCard format (.vcf).
- Import in Gaia Contacts from memory card.
Actual results:
Contact company name shows comma-escaped as "FZI\, PDE" in Gaia Contacts.
Expected results:
Contact company name should be "FZI, PDE" as in the source.
rfc6350#section-6.6.4 specifies the ORG property giving an example containing a comma escaped value:
ORG:ABC\, Inc.;North American Division;Marketing
Therefore, commas should be unescaped.
Comma escaping is described here:
http://tools.ietf.org/html/rfc6350#section-4.1
but not taken into account here:
https://github.com/mozilla-b2g/gaia/blob/master/shared/js/contacts/import/utilities/vcard_parser.js
Comment 2•7 years ago
|
||
Firefox OS is not being worked on
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.
Description
•