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 118773 - Problems accessing Tamino WebDAV Stores
Problems accessing Tamino WebDAV Stores
Status: RESOLVED FIXED
Product: gnome-vfs
Classification: Deprecated
Component: Module: http
2.2.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-vfs maintainers
gnome-vfs maintainers
Depends on:
Blocks:
 
 
Reported: 2003-07-31 14:20 UTC by Martin Meijsen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2


Attachments
proposed patch (1.92 KB, patch)
2003-08-11 21:22 UTC, Christophe Fergeau
none Details | Review

Description Martin Meijsen 2003-07-31 14:21:50 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
Comment 1 Christophe Fergeau 2003-08-01 09:21:11 UTC
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
Comment 2 Martin Meijsen 2003-08-01 11:03:24 UTC
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.
Comment 3 Christophe Fergeau 2003-08-01 11:19:46 UTC
Ok, I'll test it once the test account is set up, thanks
Comment 4 Christophe Fergeau 2003-08-04 22:08:19 UTC
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 ;)
Comment 5 Martin Meijsen 2003-08-11 09:00:31 UTC
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 ;-).
Comment 6 Christophe Fergeau 2003-08-11 21:22:50 UTC
Created attachment 19127 [details] [review]
proposed patch
Comment 7 Christophe Fergeau 2003-08-11 21:24:10 UTC
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.
Comment 8 Martin Meijsen 2003-09-02 11:22:48 UTC
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.
Comment 9 Christophe Fergeau 2003-09-02 11:49:43 UTC
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.
Comment 10 Martin Meijsen 2003-09-29 07:51:58 UTC
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. 
Comment 11 Christophe Fergeau 2003-09-29 08:22:05 UTC
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...
Comment 12 Manuel Clos 2003-09-29 12:04:45 UTC
It would be great if someone can get a list of free webdav servers
with different implementations so we can all help testing.
Comment 13 Thomas Uhl 2003-11-09 12:06:44 UTC
Here is a link to a public available WebDAV server:
http://bscw.gmd.de. You can get an account for free.
Comment 14 Christophe Fergeau 2003-11-12 12:46:47 UTC
I committed the patch attached to this bug to head.