Closed Bug 1639496 Opened 4 years ago Closed 4 years ago

Translate vCard 2.1 into a newer version before trying to parse

Categories

(MailNews Core :: Address Book, defect)

defect

Tracking

(thunderbird78+ fixed)

RESOLVED FIXED
Thunderbird 79.0
Tracking Status
thunderbird78 + fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Some implementations (including Thunderbird, up until a few minutes ago; also Android, at least on my phone) export contacts as vCard 2.1, but ICAL.js doesn't parse that version. We'll translate as much as we can to a newer version so that we can still import it.

We'll need to change property names such as TEL;WORK to TEL;TYPE=work for example, and I think we'll also need to change quoted-printable encoding into UTF-8, if I recall the spec correctly.

Attachment #9154105 - Flags: review?(mkmelin+mozilla)
Attachment #9154105 - Flags: approval-comm-beta?
Keywords: regression
Comment on attachment 9154105 [details] [diff] [review]
1639496-vcard21-1.diff

Review of attachment 9154105 [details] [diff] [review]:
-----------------------------------------------------------------

Thanks! I wonder if/what parts of this really should be in ical.js
Attachment #9154105 - Flags: review?(mkmelin+mozilla) → review+

There is a PR on ical.js to support 2.1, but it seems to have stalled and we're unlikely to get a new version from upstream by release anyway.

Target Milestone: --- → Thunderbird 79.0

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/eb8a7df0f79c
Translate vCard 2.1 into a newer version before trying to parse. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Comment on attachment 9154105 [details] [diff] [review]
1639496-vcard21-1.diff

Approved for beta
Attachment #9154105 - Flags: approval-comm-beta? → approval-comm-beta+
Depends on: 1660134
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: