[Tickets #14944] CardDAV: Bad comma separation for CATEGORIES property, aka tags
[email protected] Tue, 20 Aug 2019 11:55:34 +0000
| Newsgroups | gmane.comp.horde.bugs |
|---|---|
| Message-ID | <[email protected]> |
BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE E-MAIL-ADRESSE WERDEN NICHT GELESEN. Ticket-URL: https://bugs.horde.org/ticket/14944 ------------------------------------------------------------------------------ Ticket | 14944 Erstellt Von | [email protected] Zusammenfassung | CardDAV: Bad comma separation for CATEGORIES property, | aka tags Warteschlange | Turba Version | FRAMEWORK_5_2 Typ | Bug Status | Unconfirmed Priorität | 2. Medium Milestone | Patch | Zuständige | ------------------------------------------------------------------------------ [email protected] (2019-08-20 11:55) hat geschrieben: When syncing address book entry via CardDAV Horde is sending the CATEGORIES property with wrong separation. Horde internally uses categories as tags (or vice versa). RFC is postulating for CATEGORIES property value: "One or more text values separated by a COMMA character" https://tools.ietf.org/html/rfc6350#section-6.7.1 Horde separates by a comma and a space character. This misbeavior is coming from function synchronizeTags(array $tags) in turba/lib/Object.php ... $this->setValue('__tags', implode(', ', $tags)); ... https://github.com/horde/turba/blob/master/lib/Object.php#L313 Some CardDAV clients , for example Thunderbird plugin CardBook, adding the additional space char to the name of the category . As CardBook is using categories for grouping cards, this leads to lots of confusion. Looking forward to seeing this fixed. -- bugs mailing list Frequently Asked Questions: http://wiki.horde.org/FAQ To unsubscribe, mail: [email protected]