Bug#593833: konqueror: Redirect (301) response from WebDAV server is treated as an error when renaming folders
Package: konqueror
Version: 4:4.4.5-1
Severity: normal
Hello,
when trying to rename folders on WebDAV resources, Konqueror omits the trailing
slash in the MOVE request to the server. If the server replies with 301,
Konqueror treats this as an error and displays the following error message:
An unexpected error (301) occured while attempting to retrieve the contents
of the specified file or folder.
In the server's log file the following line appears:
192.0.2.1 - ant [20/Aug/2010:12:24:09 +0200] "MOVE /foo/bar HTTP/1.1" 301 382
"-" "Mozilla/5.0 (compatible; Konqueror/4.4; Linux) KHTML/4.4.5 (like Gecko)"
RFC 4918, section 5.2 'Collection Resources', states:
In general, clients SHOULD use the trailing slash form of collection names.
If clients do not use the trailing slash form the client needs to be prepared
to see a redirect response.
If using Apache, this issue can be workarounded server-side by including the
following line in /etc/apache2/mods-available/setenvif.conf (or any other
appropriate location):
BrowserMatch "Konqueror" redirect-carefully
Regards
Andreas
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages konqueror depends on:
ii install-info 4.13a.dfsg.1-5 Manage installed documentation in
ii kdebase-bin 4:4.4.5-1 core binaries for the KDE base app
ii kdebase-data 4:4.4.5-1 shared data files for the KDE base
ii kdebase-runtime 4:4.4.5-1 runtime components from the offici
ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib
ii libkde3support4 4:4.4.5-1 the KDE 3 Support Library for the
ii libkdecore5 4:4.4.5-1 the KDE Platform Core Library
ii libkdesu5 4:4.4.5-1 the Console-mode Authentication Li
ii libkdeui5 4:4.4.5-1 the KDE Platform User Interface Li
ii libkhtml5 4:4.4.5-1 the KHTML Web Content Rendering En
ii libkio5 4:4.4.5-1 the Network-enabled File Managemen
ii libkonq5 4:4.4.5-1 core libraries for Konqueror
ii libkonqsidebarplugin4a 4:4.4.5-1 konqueror sidebar plugin library
ii libkparts4 4:4.4.5-1 the Framework for the KDE Platform
ii libkutils4 4:4.4.5-1 various utility classes for the KD
ii libqt4-dbus 4:4.6.3-1 Qt 4 D-Bus module
ii libqt4-qt3support 4:4.6.3-1 Qt 3 compatibility library for Qt
ii libqt4-xml 4:4.6.3-1 Qt 4 XML module
ii libqtcore4 4:4.6.3-1 Qt 4 core module
ii libqtgui4 4:4.6.3-1 Qt 4 GUI module
ii libstdc++6 4.4.4-8 The GNU Standard C++ Library v3
ii libx11-6 2:1.3.3-3 X11 client-side library
Versions of packages konqueror recommends:
ii dolphin 4:4.4.5-1 file manager
ii konqueror-nsplugins 4:4.4.5-1 Netscape plugin support for Konque
Versions of packages konqueror suggests:
ii konq-plugins 4:4.4.0-2 plugins for Konqueror, the KDE fil
-- no debconf information
Reply to: