Bug 206920 - query string truncated from resource URL when trying to update remote resource over http
Summary: query string truncated from resource URL when trying to update remote resourc...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kab3
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-10 01:32 UTC by Joshua Hodosh
Modified: 2016-09-24 19:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.