[Tickets #14944] CardDAV: Bad comma separation for CATEGORIES property, aka tags
noreply at bugs.horde.org
noreply at bugs.horde.org
Tue Aug 20 11:55:34 UTC 2019
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 | bugs.horde.org at ulle.dyndns.org
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 |
------------------------------------------------------------------------------
bugs.horde.org at ulle.dyndns.org (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.
More information about the bugs
mailing list