Bug 187970 - Dolphin webdav avoids to remove folders in mydisk.se with code 301
Summary: Dolphin webdav avoids to remove folders in mydisk.se with code 301
Status: CLOSED FIXED
Alias: None
Product: kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-24 05:35 UTC by Luiz Angelo De Luca
Modified: 2014-05-22 19:00 UTC (History)
5 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 Luiz Angelo De Luca 2009-03-24 05:35:56 UTC
Version:           1.2.1 (using 4.2.1 (KDE 4.2.1) "release 104", KDE:KDE4:Factory:Desktop / openSUSE_11.1)
Compiler:          gcc
OS:                Linux (x86_64) release 2.6.27.19-3.2-default

I have a free account at mydisk.se. If I try to remove a directory using dolphin, it gives the error 301 (perm. redirect). In a self-made client, I managed to remove folders asking to remove
 http://mydisk.se/myuser/folder/ 
instead of
 http://mydisk.se/myuser/folder

I don't know which one should work (or both) but Dolphin could treat 301
codes.
Comment 1 Andre Alexander Bell 2009-06-05 17:32:00 UTC
I get the same error message on KDE 4.2.2 on both by Debian (unstable) as well as my Kubuntu (up-to-date 9.04) boxes.
Deleting the folders with cadaver works fine.
Comment 2 Josu 2009-07-19 19:06:23 UTC
Same problem on KDE 4.2.2 with Dolphin and Konqueror. It seems a kioslave problem. When i try to remove a collection/directory kio_http not sends a trailing slash. (apache dav 2.2.11)

The command:
DELETE /dav/directory
returns error 301

The syntax is:
DELETE /dav/directory/

This error does useless KDE for managing webdav repositories.
Comment 3 Szczepan Hołyszewski 2009-08-23 14:17:53 UTC
Same problem on 4.3.0. Please everyone affected, vote for this bug!
Comment 4 Andre Alexander Bell 2009-09-28 18:59:51 UTC
I can still confirm this bug in Dolphin 1.3 under KDE 4.3.1 on my Kubuntu 9.04 machine.
Comment 5 Johannes Truschnigg 2009-12-01 17:05:57 UTC
Just for sake of completeness: it's possible to work around this behaviour of the webdav KIO slave when communicating with Apache by, for example, disabling mod_dir on the server side. Adding "DirectorySlash Off" to the matching scope of the URI also helps.
Comment 6 Florian Lindner 2010-03-02 17:05:18 UTC
The bug is still present in 4.3.5 with Strato HiDrive WebDAV.
Comment 7 Dawit Alemayehu 2010-04-11 05:40:21 UTC
SVN commit 1113484 by adawit:

- Fixed both BR# 209508 and BR#187970. 

BUG: 209508
BUG: 187970


 M  +38 -1     http.cpp  
 M  +1 -0      http.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1113484