PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » HTTP » HTTP_WebDAV_Server » Bug #8570

PROPFIND does not report lock-null resources in Filesystem class

Details

Submitted2006-08-28 05:14 UTC
Fromhugh at worldwebms dot com
Assignedhholzgra
StatusClosed
PackageHTTP_WebDAV_Server
PHP VersionIrrelevant
OSDebian Linux
Roadmaps(Not assigned)

Comments

[2006-08-28 05:14 UTC] hugh at worldwebms dot com

Description:
------------
The PROPFIND implementation in the Filesystem class which is provided with this system does not report so-called "lock-null" resources, ie. resources which do not exist yet but have been locked. This is a requirement as per the RFC (2518). The resource should return with the fields as follows:

displayname - as normal
creationdate - time the lock was created
getlastmodifier - time the lock was created/updated
resourcetype - (blank)
getcontenttype - (blank)
getcontentlength - 0

This issue causes problems when using later versions of Dreamweaver which try to lock the resource then issue a PROPFIND to make sure it is "there" before MKCOL is called. When PROPFIND returns forbidden, DW aborts the upload.