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-b...@kde.org
          Reporter: jasonx86...@gmail.com
                CC: to...@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....@example.org
X-messaging/xmpp-All:john....@example.org
END:VCARD


Expected Results:  
BEGIN:VCARD
VERSION:3.0
FN:John Doe
N:Doe;John;;;
X-KADDRESSBOOK-X-IMAddress:john....@example.org
X-JABBER:john....@example.org
END:VCARD

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to