Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Operating System: Windows 2000
Platform: PC
-
33690
Description
The VFS webdav provider sets the name of the file to be that of the
"displayname" of the underlying WebDAV resource. The display name is often a
human readable name, and not meant to be used as the path name. It would be more
correct to set it to be simply the name of the file. This is done in
WebdavFileObject.doListChildrenResolved which currently reads:
WebdavFileObject fo =
(WebdavFileObject)getFileSystem().resolveFile(getName().resolveName(dav.getDisplayName(),
NameScope.CHILD));
whereas it should read:
WebdavFileObject fo = (WebdavFileObject)
getFileSystem().resolveFile(getName().resolveName(dav.getName(), NameScope.CHILD));
This would create a correct path. A client that would want to access the human
readable name would do so by using the attributes of the file object.