Summary: | vCards get imported/exported with incorrect Photo Format Type | ||
---|---|---|---|
Product: | [Applications] kdepimlibs | Reporter: | fetzer.ch |
Component: | kabc | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | montel, thomas |
Priority: | NOR | ||
Version: | GIT (master) | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/kdepimlibs/f7de08b9f65e2c7414f237dda9e024ebcdbccd31 | Version Fixed In: | 4.9.3 |
Description
fetzer.ch
2012-10-16 10:05:47 UTC
Git commit f7de08b9f65e2c7414f237dda9e024ebcdbccd31 by Montel Laurent. Committed on 16/10/2012 at 12:34. Pushed by mlaurent into branch 'KDE/4.9'. Fix Bug 308480 - vCards get imported/exported with incorrect Photo Format Type FIXED-IN: 4.9.3 M +2 -2 kabc/vcardtool.cpp http://commits.kde.org/kdepimlibs/f7de08b9f65e2c7414f237dda9e024ebcdbccd31 I tested and works fine now. Regards That was quick. Thanks! Had a look into the vCard 4.0 spec: http://www.rfc-editor.org/rfc/rfc6350.txt (p. 29) They changed the tags here and also switched to mime types. Maybe something to consider later when adding 4.0 support. Example: PHOTO:data:image/jpeg;base64,MIICajCCAdOgAwIBAgICBEUwDQYJKoZIhv AQEEBQAwdzELMAkGA1UEBhMCVVMxLDAqBgNVBAoTI05ldHNjYXBlIENvbW11bm ljYXRpb25zIENvcnBvcmF0aW9uMRwwGgYDVQQLExNJbmZvcm1hdGlvbiBTeXN0 <...remainder of base64-encoded data...> For the moment we don't have support for vcard4.0 Don't know if a program has this support. Thunderbird still uses vcard 2.1 (In reply to comment #0) > When adding images to the contact resource in akonadi (via KAddressBook) the > Photo Format Type in the PHOTO tag is set incorrectly. It uses a mime type > representation ("image/jpeg" or "image/png"). > For example: PHOTO;ENCODING=b;TYPE=image/jpeg:/9j/4AAQSkZJR... > Correct would be: PHOTO;ENCODING=b;TYPE=JPEG:/9j/4AAQSkZJR... Dang, I had misread the rfc there. That is perhaps the reason for the the bug reports where I blamed the SoGo connector in connection with ownCloud. KDEPIM/Android/N900/N9(50) reads the profile pictures just fine with the full mimetype, so I automatically blamed Evolution/Thunderbird/Sogo :-P |