6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/30/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14944] CardDAV: Bad comma separation for CATEGORIES property, aka tags
*
Your Email Address
*
Spam protection
Enter the letters below:
__.\ /. .\ /. . (__ >< | | >< |\/| .__)/ \|__|/ \| |
Comment
> Yes, we store it with a comma-space separator, but only internally in > Turba. When the Turba_Object is converted to a vCard, this property > is split and trimmed in Turba_Tagger::split(); > > I'll have to trace the code after I get a Thunderbird install going > to see where this is(not) happening. > >> 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. >> >
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers