Summary: | KDE webdavs ioslave no longer works - doesn't send authorization header | ||
---|---|---|---|
Product: | [Frameworks and Libraries] kio | Reporter: | Russ Tennant <russ> |
Component: | webdav | Assignee: | kdelibs bugs <kdelibs-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ahartmetz, echidnaman, f.koester, foss, onyx, saltini, winter |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Russ Tennant
2009-05-16 04:21:16 UTC
I can also confirm this bug, still present in both 4.2.4 stable and current beta 2 of 4.3 (4.2.90). I've been able to use webdav / webdavs kioslave with previous kde 3.5.x and 4.x versions. My webdav server is the php implementation of webdav protocol found in eGroupware 1.6. Many thanks in advance. Sauro Saltini. I can confirm this bug too. Using kde4.2.4 with builtin Korganizer application. It does not even try to authenticate on 401 server response, just dropping an error. The same problem with Kaddressbook, and it seems problem in webdav handling. Please please fix it, i and co-workers in company can not access our contacts and calendar! It's around line 2832 in kdelibs-4.2.4/kioslave/http/http.cpp file, i think. More than 800 changes was made since 3.5.10, where http\webdav works well. Many good peoples in header of this file are listed under Copyright section! We must thank them and ask to fix it ASAP, please! Andreas, feel like taking a look at this? Bug still exists after upgrading to 4.3.0. Must we choose another method of access calendars and contacts or bug will be fixed soon? It is critical to us, and if it will be fixed - we will wait, if not (or takes a long time) - we start migrating from webdav. To imap storage, or something.. Please, dear developers, just let us know - will it be fixed in month or not? With great best regards and many thanks, Dmitry. I also confirm this bug, same behaviour under kde-4.2.2 & 4.3. I filed Bug #189760 half a year ago. Webdav is broken in KDE. Thanks to Matthew Dawson! The patch (this one is for freebsd ports tree, but can be adapted if needed): # cat /usr/ports/x11/kdelibs4/files/patch-http.cpp --- ./kioslave/http/http.cpp.orig 2009-08-31 19:39:43.000000000 +0400 +++ ./kioslave/http/http.cpp 2009-08-31 19:42:15.000000000 +0400 @@ -4355,7 +4355,7 @@ if (m_request.responseCode >= 500 && m_request.responseCode <= 599) { error(ERR_INTERNAL_SERVER, m_request.url.host()); return false; - } else if (m_request.responseCode >= 400 && m_request.responseCode <= 499) { + } else if (m_request.responseCode >= 400 && m_request.responseCode <= 499 && m_request.responseCode != 401) { error(ERR_DOES_NOT_EXIST, m_request.url.host()); return false; } Rebuild && Reinstall kdelibs4. Tested. Please, test it again and include in the distribution. Mark ticket for closing? I can confirm the attached patch solves the problem (at least for me). Many thanks to all, and especially to Matthew Dawson! Sauro Saltini. This patch works also when applied to KDE 4.2.4. Please include it in 4.3-branch (and therefore KDE 4.3.2) *** Bug 189760 has been marked as a duplicate of this bug. *** A modified (better) version of this patch is included in KDE 4.3.2. |