ProtonMail / proton-contacts

React web application to manage ProtonMail contacts
54 stars 19 forks source link

Inconsistent handling of contact groups #393

Open grb43 opened 3 years ago

grb43 commented 3 years ago

Related to #388. Tested on ProtonMail [4.0.0 - Beta 33] - 2020-12-16

Import a vcard having a CATEGORIES entry with a single text-value but no EMAIL entry:

Import a vcard having a CATEGORIES entry with a comma separated list of text-values but no EMAIL entry:

To further confuse things, the Android app doesn't even list these contacts (i.e. with no email address) as members of the group. (ISSUE 4)

Edit: I meant to add that RFC6350 defines the purpose of a CATEGORIES entry "to specify application category information about the vCard, also known as "tags"." i.e. it is tied to the card, not the EMAIL entries. RFC6350 also allows the value type as "One or more text values separated by a COMMA character"

So ISSUE 3 above means that a valid vcard record can be imported into ProtonMail Contacts, but have valid data stripped/lost when exported. This is most concerning.