[Bug 300869] New: Addressbook messaging entries doesn't follow the RFC

Thomas Olsen thomas at tanghus.net
Wed May 30 13:29:33 BST 2012


https://bugs.kde.org/show_bug.cgi?id=300869

            Bug ID: 300869
          Severity: normal
           Version: unspecified
          Priority: NOR
                CC: tokoe at kde.org
          Assignee: kdepim-bugs at kde.org
           Summary: Addressbook messaging entries doesn't follow the RFC
    Classification: Unclassified
                OS: Linux
          Reporter: thomas at tanghus.net
          Hardware: Ubuntu Packages
            Status: UNCONFIRMED
         Component: general
           Product: kaddressbook

When you enter a messaging protocol through the popup (btw: I would have never
found out how to change protocol if someone hadn't told me) it writes an entry
in the form:

X-MESSAGING/SKYPE-ALL:somehandle

This violates the RFC [1]  because slashes are not allowed:

   x-name       = "X-" 1*(ALPHA / DIGIT / "-")
        ; Reserved for non-standard use

I discovered this because of a bug report for ownCloud where some vcards failed
to import. So at least SabreDAV which is used by ownCloud cannot parse vcards
with IM entries created by KAddressbook.

[1] https://tools.ietf.org/html/rfc2426#section-4
[2] https://code.google.com/p/sabredav/

Reproducible: Always

Steps to Reproduce:
1. Create a contact in KAddressbook and add an IM address.
2.  Export to vcf.
3. Import to ownCloud.
Actual Results:  
The import fails with the error "line N did not follow the icalendar/vcard
format".

Expected Results:  
The import shouldn't fail because of malformed vcard.

KDE 4.8.3
KDE-PIM 4.8.2
Kubuntu 11.10
ownCloud 4.0

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list