Bug 206920

Summary: query string truncated from resource URL when trying to update remote resource over http
Product: kab3 Reporter: Joshua Hodosh <josh.hodosh>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: normal CC: ict, tokoe
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Joshua Hodosh 2009-09-10 01:32:49 UTC
Version:            (using KDE 4.3.1)
Compiler:          GCC 4.3.2 
OS:                Linux
Installed from:    Gentoo Packages

I've been trying to get Kontact to work with my Zimbra contacts list.
I added it as a network resource, using vcards.

I can read them with no problem using http[s]://server/path/to/contacts.vcf or http[s]://server/path/to/contacts?fmt=vcf
However, writing doesn't work. I captured the packets for an attempt at an http write. The .vcf version tries the correct URL, but Zimbra doesn't support writing to it.
However, the ?fmt=vcf version shows that Kontact is POSTing to http://server/path/to/contacts without the query string, so Zimbra is interpreting the vcard as a CSV file. It returns 200 OK.
Somewhere between Kontact and the code making the network request, the URL gets truncated, resulting in lots of empty contacts in Zimbra's list.
Comment 1 Joshua Hodosh 2010-01-30 04:01:21 UTC
Using KDE SC 4.4 RC2, I can still read the address book using Akonadi's vcard file resource. "Read only" is check and greyed out, though. Is there any way to make remote address books writable?
Comment 2 Denis Kurz 2016-09-24 19:53:26 UTC
Thank you for your efforts you put into this bug. kab3 has long been deprecated, and so I close its old reports. If this bug/wish is still valid for kab3's successor kaddressbook in any recent version (5.0 or later, as part of KDE Applications 15.08.0 or later), please file a new bug against kaddressbook.