After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 92908 - WebDAV sends wrong PROPFIND request
WebDAV sends wrong PROPFIND request
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: http
2.0.x
Other Linux
: Normal normal
: ---
Assigned To: Ian McKellar
Ian McKellar
Depends on:
Blocks:
 
 
Reported: 2002-09-10 06:51 UTC by Alexander Larsson
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Alexander Larsson 2002-09-10 06:51:56 UTC
Try these urls in nautilus:
http://idisk.mac.com/tigert/Public
http://svn.collab.net/repos/svn
http://test.webdav.org/dav/

The first two works, but not the last one.
The reason:
The problem with http://test.webdav.org/dav/ is that the trailing slash
from the URL is getting stripped in the PROPFIND request made by gnome-vfs,
which is not correct; a PROPFIND request on a collection (aka folder)
should always have a trailing slash in the request-uri.

The PROPFIND on http://test.webdav.org/dav gets a 30x redirect to /dav/;
the redirect is followed, but with a GET request.

(Some servers respond to the PROPFIND-without-trailing-slash fine, though)

(This bug was originally in the Red Hat bugzilla at:
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=73413)
Comment 1 Mikael Hallendal 2002-10-04 21:45:18 UTC
Seems like Apache 2.0.X doesn't work but with 1.X it does work
Comment 2 Bradley Shuttleworth 2002-11-20 19:17:10 UTC
This looks like a RFC-compliance bug in gnome-vfs.  Basically, the
apache2 WebDAV module returns "301 - content moved" which doesn't seem
to be handled by gnome-vfs.
Comment 3 Ian McKellar 2002-11-20 19:38:10 UTC
Bugger... Our redirect support has been pretty awful.

I need to get this working.
Comment 4 Bradley Shuttleworth 2002-11-21 18:53:09 UTC
As a slightly simpler solution, (Debian's) Apache 2.0.43 includes the
line:

BrowerMatch "^gnome-vfs" redirect-carefully

In the httpd.conf file, which makes this work for me.

It should probably be fixed, if only because that puts GnomeVFS in the
"workaround-hall-of-shame" :)
Comment 5 Alexander Larsson 2004-03-04 15:08:47 UTC
This should be fixed in cvs now.