[Cyberduck-trac] [Cyberduck] #3076: DAV dir listing stalled on Word temp files

Cyberduck trac at trac.cyberduck.ch
Fri Mar 20 13:30:06 CET 2009


#3076: DAV dir listing stalled on Word temp files
---------------------------+------------------------------------------------
 Reporter:  john@…         |       Owner:  dkocher 
     Type:  defect         |      Status:  assigned
 Priority:  normal         |   Milestone:  3.1.3   
Component:  webdav         |     Version:  3.1.2   
 Severity:  normal         |    Keywords:          
---------------------------+------------------------------------------------
Changes (by dkocher):

  * status:  new => assigned
  * milestone:  => 3.1.3


Comment:

 The actual response is

 {{{
 <a:multistatus xmlns:b="urn:uuid:c2f41010-65b3-11d1-a29f-00aa00c14882/"
 xmlns:c="xml:" xmlns:a="DAV:">
         <a:response>
                 <a:href>https://central.bmdc.org/cyberduck/</a:href>
                 <a:propstat>
                         <a:status>HTTP/1.1 200 OK</a:status>
                         <a:prop>
                                 <a:displayname>cyberduck</a:displayname>
                                 <a:getcontentlength
 b:dt="int">0</a:getcontentlength>
                                 <a:getcontenttype>application/octet-
 stream</a:getcontenttype>
 <a:resourcetype><a:collection/></a:resourcetype>
                                 <a:getlastmodified
 b:dt="dateTime.rfc1123">Fri, 20 Mar 2009 12:05:16 GMT</a:getlastmodified>
                         </a:prop>
                 </a:propstat>
         </a:response>
         <a:response>
 <a:href>https://central.bmdc.org/cyberduck/foo.doc</a:href>
                 <a:status>HTTP/1.1 403 Forbidden</a:status>
         </a:response>
         <a:response>
 <a:href>https://central.bmdc.org/cyberduck/~$D%20filename.doc</a:href>
                 <a:propstat>
                         <a:status>HTTP/1.1 200 OK</a:status>
                         <a:prop>
                                 <a:displayname>~$D
 filename.doc</a:displayname>
                                 <a:getcontentlength
 b:dt="int">0</a:getcontentlength>
 <a:getcontenttype>application/msword</a:getcontenttype>
                                 <a:resourcetype/>
                                 <a:getlastmodified
 b:dt="dateTime.rfc1123">Fri, 20 Mar 2009 08:21:06 GMT</a:getlastmodified>
                         </a:prop>
                 </a:propstat>
         </a:response>
 </a:multistatus>
 }}}

 causing a null pointer for responses that have a `Forbidden` status and
 miss any `propstat` dictionary.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/3076#comment:4>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files and Amazon S3 Browser for Mac OS X.


More information about the Cyberduck-trac mailing list