[Cyberduck-trac] [Cyberduck] #5594: webdav treats directories as files
Cyberduck
trac at trac.cyberduck.ch
Tue Dec 28 13:32:12 CET 2010
#5594: webdav treats directories as files
----------------------------------+-----------------------------------------
Reporter: guido.wagner | Owner: dkocher
Type: defect | Status: closed
Priority: normal | Milestone:
Component: webdav | Version: 3.8.1
Severity: normal | Resolution: thirdparty
Keywords: webdav egroupware | Platform: Mac OS X 10.6
Architecture: Intel |
----------------------------------+-----------------------------------------
Changes (by dkocher):
* status: new => closed
* resolution: => thirdparty
Old description:
> If I connect via webdav to egroupware 1.6, all directories are shown as
> files. If I click one, cyberduck tries to download it.
>
> Test:
> Use the publishers demo installation:
>
> Server: https://demo-epl.egroupware.de
> Path: /egw/webdav.php/home
> user: demo
> password: guest
New description:
If I connect via webdav to egroupware 1.6, all directories are shown as
files. If I click one, cyberduck tries to download it.
Test:
Use the publishers demo installation:
* Server: https://demo-epl.egroupware.de
* Path: /egw/webdav.php/home
* user: demo
* password: guest
--
Comment:
Thanks for the test account. The response from the server is invalid. The
`resourcetype` element is missing the `DAV:`namespace URI. Please report
to the server vendor.
{{{
<?xml version="1.0"?>
<response xmlns:ns0="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/">
<href>/egw/webdav.php/home/Stylite/</href>
<propstat>
<prop>
<displayname>Stylite</displayname>
<getlastmodified ns0:dt="dateTime.rfc1123">Sun, 26
Jul 2009 22:00:00 GMT</getlastmodified>
<resourcetype>
<collection/>
</resourcetype>
<getcontenttype>httpd/unix-
directory</getcontenttype>
<lockdiscovery/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<getcontentlength/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
}}}
Compared with a valid response from a different server with the correct
namespace asssigned to `resourcetype`:
{{{
<?xml version="1.0"?>
<response xmlns:g0="DAV:" xmlns:lp1="DAV:"
xmlns:lp2="http://apache.org/dav/props/">
<href>/dav/digest/methods/</href>
<propstat>
<prop>
<getcontenttype>httpd/unix-
directory</getcontenttype>
<lp1:resourcetype>
<collection/>
</lp1:resourcetype>
<lp1:getlastmodified>Fri, 17 Apr 2009 16:12:25
GMT</lp1:getlastmodified>
<lockdiscovery/>
</prop>
<status>HTTP/1.1 200 OK</status>
</propstat>
<propstat>
<prop>
<g0:displayname/>
<g0:getcontentlength/>
</prop>
<status>HTTP/1.1 404 Not Found</status>
</propstat>
</response>
}}}
--
Ticket URL: <http://trac.cyberduck.ch/ticket/5594#comment:1>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.
More information about the Cyberduck-trac
mailing list