GNOME Bugzilla – Bug 118773
Problems accessing Tamino WebDAV Stores
Last modified: 2004-12-22 21:47:04 UTC
Nautilus refuses to open a WebDAV store as WebDAV if this store is a Tamino WebDAV store. (The Tamino WebDAV server is an add-on product of Software AG that is built with SLIDE and based on the XML Server Tamino). Looking at the HTTP requests thet Gnome issues, I can see that Gnome starts with a PROPFIND, assuming that the URL entered may be a WebDAV enabled store. I cannot see anything wrong with the response that the Tamino WebDAV Server returns, but either the Gnome vfs or Nautilus decides that this is not a proper WebDAV folder and therefore treat the URL as normal HTTP. The response returned by the Tamino WebDAV Server looks like this: <-- C04 <-- S05 ==== (15) Response 207 to <PROPFIND /taminowebdavserver HTTP/1.0> <-- C04 <-- S05 HTTP/1.1 207 Multi-Status <-- C04 <-- S05 Set-Cookie: JSESSIONID=CDF8A5BA87633A5B0A94F0515B7C0A55; Path=/taminowebdavserver <-- C04 <-- S05 Content-Type: text/xml; charset="UTF-8" <-- C04 <-- S05 Date: Wed, 30 Jul 2003 13:49:48 GMT <-- C04 <-- S05 Server: Apache Coyote/1.0 <-- C04 <-- S05 Connection: close <-- C04 <-- S05 ==== Body 919 bytes <-- C04 <-- S05 Body => <?xml version="1.0" encoding="UTF-8"?> <D:multistatus xmlns:D="DAV:"> <D:response> <D:href>/taminowebdavserver/</D:href> <D:propstat> <D:prop> <D:creationdate>2003-07-30T13:42:18Z</D:creationdate> <D:getcontentlength>0</D:getcontentlength> <D:getlastmodified>Wed, 30 Jul 2003 13:42:18 GMT</D:getlastmodified> <D:resourcetype> <D:collection /> </D:resourcetype> </D:prop> <D:status>HTTP/1.1 200 OK</D:status> </D:propstat> <D:propstat> <D:prop> <D:getcontenttype /> <nautilus-treat-as-directory xmlns="http://services.eazel.com/namespaces" /> </D:prop> <D:status>HTTP/1.1 404 Not Found</D:status> </D:propstat> </D:response> </D:multistatus> I have compared this with the responses from Apache mod-dav and the Zope server (which both work with Gnome). There are some minor differences, which I mimicked via a filter but to no reveal. I can provide access to a Tamino WebDAV store for testing if that is required. _________________ best regards Martin
A test account would be helful. Could you first try the latest gnome-vfs 2.3.x version (if you can't, I can do it with a test account)? It should be possible to compile in on a gnome 2.2 system without installing any other dependency. It has a fix for some webdav sites which were unaccessible which was never backported to the 2.2 branches, see http://cvs.gnome.org/bonsai/cvsview2.cgi?diff_mode=context&whitespace_mode=show&root=/cvs/gnome&subdir=gnome-vfs/modules&command=DIFF_FRAMESET&file=http-method.c&rev2=1.144&rev1=1.143 and http://bugzilla.gnome.org/show_bug.cgi?id=110532
I have asked to have a test WebDAV store for you to be set up. You will receive am email shortly with the access information you will require. It is a bit difficult to upgrade our Gnome installation at the moment as our system administrator has just gone on holiday and I would not like to "mess" with his environment until he is back.
Ok, I'll test it once the test account is set up, thanks
This is due to gnome-vfs not ignoring properly superfluouswhitespaces/carriage returns in the server response. The culprit code is in http-method.c:1808, I'll attach a patch when I find time to write it ;)
Thanks. The Tamino WebDAV Server uses JDOM serialization. So I assume anyone that uses that method will run into that. Any idea when you can provide a patch? We would like to be able to recommend Gnome as the desktop for working with the Tamino WebDAV server in combination with Sun's StarOffice. But it has to work of course ;-).
Created attachment 19127 [details] [review] proposed patch
This patch should fix the issue, but I'd like to test it with other dav servers before committing it. It should be in for GNOME 2.4, I'll try to backport it to 2.2 when it has been tested enough.
Hi Christophe, have you had any chance testing your fix in order to back-port it? If we would like your fix ourselves, is there a build we can try, or which source code version should we take? thanks.
It works on tamino webservers, but I didn't have a chance to test it with other dav servers, and I don't want to commit before testing it with the most used webdav servers.
So, how do we proceed from here? I assume that a fix is available but not committed, so it is not yet available in an official version. I'd hate to have to tell our customers that in order to work with our Tamino WebDAV Server you need to use Microsoft tools. We would like to have a fair choice.
I have nearly finished the non-gnome-vfs I had to do. Once I'm done with it, I'll take care of the patches lying in bugzilla. I guess this won't help you much since this patch will only go in the unstable 2.5 serie for now. Maybe you can provide 2.2 or 2.4 gnome-vfs packages to your customers with this patch applied? I don't have anything against also committing this patch in the 2.4 branch, but it must be tested against several different webdav servers first, and since I don't have access to many webdav locations, this would help if other people could test it...
It would be great if someone can get a list of free webdav servers with different implementations so we can all help testing.
Here is a link to a public available WebDAV server: http://bscw.gmd.de. You can get an account for free.
I committed the patch attached to this bug to head.