[kaddressbook] [Bug 370934] New: Uses invalid vcard names for IM data in XDG_DATA_DIR/contacts
Jason Fagnere via KDE Bugzilla
bugzilla_noreply at kde.org
Sun Oct 16 05:44:11 BST 2016
https://bugs.kde.org/show_bug.cgi?id=370934
Bug ID: 370934
Summary: Uses invalid vcard names for IM data in
XDG_DATA_DIR/contacts
Product: kaddressbook
Version: 5.1.3
Platform: Ubuntu Packages
URL: https://github.com/geier/pycarddav/issues/91
OS: Linux
Status: UNCONFIRMED
Severity: minor
Priority: NOR
Component: general
Assignee: kdepim-bugs at kde.org
Reporter: jasonx86.sh at gmail.com
CC: tokoe at kde.org
The vcards in $XDG_DATA_DIR/contacts contains invalid names for IM data, the
RFC (both 2426 and 6250) define the name as 1*(ALPHA / DIGIT / "-"), and
KAddressbook (or akonadi?) uses "/", which is invalid, and thus may break some
parsers, for example in pycarddav. it also makes these vcards unsuitable for
sync between devices (my use case).
(Also, it exports vcards 4.0 with X-JABBER instead of IMPP, which isn't invalid
per se, but less X- would be great, i guess)
Reproducible: Always
Steps to Reproduce:
1. Create a contact in KAddressbook with an IM address
2. Read it's vcard in ~/.local/share/contacts
Actual Results:
BEGIN:VCARD
VERSION:3.0
FN:John Doe
N:Doe;John;;;
X-KADDRESSBOOK-X-IMAddress:John.doe at example.org
X-messaging/xmpp-All:john.doe at example.org
END:VCARD
Expected Results:
BEGIN:VCARD
VERSION:3.0
FN:John Doe
N:Doe;John;;;
X-KADDRESSBOOK-X-IMAddress:John.doe at example.org
X-JABBER:john.doe at example.org
END:VCARD
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Kdepim-bugs
mailing list