Skip to content

Commit

Permalink
jmap_contact.c: libicalvcard will escape comma in JSCOMPS separator
Browse files Browse the repository at this point in the history
  • Loading branch information
ksmurchison committed Oct 18, 2023
1 parent ef6fe77 commit c127713
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions imap/jmap_contact.c
Original file line number Diff line number Diff line change
Expand Up @@ -9069,8 +9069,6 @@ static vcardproperty *_jscomps_to_vcard(struct jmap_parser *parser, json_t *obj,
/* Add separator entry to JSCOMPS */
sep = val;
buf_setcstr(&buf, sep);
buf_replace_all(&buf, ";", "\\;");
buf_replace_all(&buf, ",", "\\,");
entry = vcardstrarray_new(2);
vcardstrarray_append(entry, "s");
vcardstrarray_append(entry, buf_cstring(&buf));
Expand Down

0 comments on commit c127713

Please sign in to comment.