From 04502ddc975cd069f0ecd7df2f6d94c8208a8052 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Sat, 15 Nov 2008 07:46:59 +0000 Subject: [PATCH] =?UTF-8?q?"fixed=20displayname=20property=20to=20contain?= =?UTF-8?q?=20just=20the=20basename=20of=20the=20file/dir,=20as=20davfs=20?= =?UTF-8?q?displays=20this=20(funny=20names=20if=20there's=20a=20full=20pa?= =?UTF-8?q?th)=20as=20pointed=20out=20by=20Hans=20J=C3=BCrgen=20on=20the?= =?UTF-8?q?=20devel=20list"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- phpgwapi/inc/class.vfs_webdav_server.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.vfs_webdav_server.inc.php b/phpgwapi/inc/class.vfs_webdav_server.inc.php index 15719c2d37..79eec1471a 100644 --- a/phpgwapi/inc/class.vfs_webdav_server.inc.php +++ b/phpgwapi/inc/class.vfs_webdav_server.inc.php @@ -132,7 +132,7 @@ class vfs_webdav_server extends HTTP_WebDAV_Server_Filesystem $info['props'] = array(); // no special beautified displayname here ... - $info['props'][] = HTTP_WebDAV_Server::mkprop ('displayname', strtoupper($path)); + $info['props'][] = HTTP_WebDAV_Server::mkprop ('displayname', egw_vfs::basename(self::_unslashify($path))); // creation and modification time $info['props'][] = HTTP_WebDAV_Server::mkprop ('creationdate', filectime($fspath));