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

Tim Schlotfeldt <ts+...@ml.tschlotfeldt.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ts+...@ml.tschlotfeldt.de

--- Comment #8 from Tim Schlotfeldt <ts+...@ml.tschlotfeldt.de> ---
I think i found the error.

Deleting a file gives an error 400. WebDAV is only accessible over https and
digest authentification (apache auth_digest). With cadaver deleting the files
works.

This is the debug log:

[Sat Oct 21 12:56:48.749869 2017] [authz_core:debug] [pid 31587:tid
140425816446720] mod_authz_core.c(809): [client xxx.xxx.xxx.xxx:55850] AH01626:
au
thorization result of <RequireAny>: granted
[Sat Oct 21 12:56:48.749909 2017] [dav:error] [pid 31587:tid 140425816446720]
[client xxx.xxx.xxx.xxx:55850] Could not fetch resource information.  [4
00, #0]
[Sat Oct 21 12:56:48.749921 2017] [dav:error] [pid 31587:tid 140425816446720]
[client xxx.xxx.xxx.xxx:55850] The URL contains extraneous path componen
ts. The resource could not be identified.  [400, #0]
[Sat Oct 21 12:56:48.749984 2017] [authz_core:debug] [pid 31587:tid
140425816446720] mod_authz_core.c(809): [client xxx.xxx.xxx.xxx:55850] AH01626:
au
thorization result of Require all granted: granted
[Sat Oct 21 12:56:48.749996 2017] [authz_core:debug]

And the access log shows that kio added a trailing slash to the filename:

xxx.xxx.xxx.xxx - - [21/Oct/2017:12:56:48 +0200] "DELETE /my_testfile.pdf/
HTTP/1.1" 400 973 "-" "Mozilla/5.0 (X11) KHTML/5.39.0 (like Gecko) Konqueror/5
KIO/5.39"


I remember the same issue occured with Akonadi deleting an CardDAV address
ressource. Workaround was a Apache rewrite rule because the Akonadi-Team wasn't
able to change the webdav behavior.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to