[Akonadi] [Bug 386985] akonadi CalDav resource not synching with certain servers

Stefan Brüns bugzilla_noreply at kde.org
Sat Jan 18 11:41:27 GMT 2025


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

--- Comment #66 from Stefan Brüns <stefan.bruens at rwth-aachen.de> ---
Git commit 145b340991f0f98f84329f04b47a7f48d3f3ca6a by Stefan Brüns.
Committed on 18/01/2025 at 11:28.
Pushed by bruns into branch 'use-relative-carddav-multiget-request'.

Also use relative hrefs with for carddav-multiget

This applies the same change to carddav as already done for caldav
(Commit bf6628ff1da1661a6485a2199d2222611e1b2ae5 "Replace absolute
URIs with relative ones in calendar-multiget request").

The rationale is some servers apparently having problems when the
DAV:href elements contains non-relative URLs (i.e. including scheme
and host), and return empty result in this case. (One such server
is Telekom Magentacloud/Spica, which is fixed with this change.)

It would seem safer to use the same notation as originally reported
in the DAV collection, but even that does not seem to always work - see
commit abfdd65f0c85332e1c16e5c01c74478d392364ba ("Use URLs in multiget
requests as returned by the Server"), which was reverted as it broke
with KDABs servers 7 years ago.

As nobody has reported any problems with the caldav change above, it is
probably safe to use relative hrefs now.
Related: bug 310210

M  +1    -1    src/protocols/carddavprotocol.cpp

https://invent.kde.org/frameworks/kdav/-/commit/145b340991f0f98f84329f04b47a7f48d3f3ca6a

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


More information about the Kdepim-bugs mailing list