mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 09:09:04 +01:00
fixed no longer possible direct access/mount of VFS root via WebDAV after r36606
This commit is contained in:
parent
2b6409d998
commit
b848d23ef3
@ -355,7 +355,7 @@ class vfs_webdav_server extends HTTP_WebDAV_Server_Filesystem
|
|||||||
foreach($files['files'] as $n => $info)
|
foreach($files['files'] as $n => $info)
|
||||||
{
|
{
|
||||||
$path = $info['path'];
|
$path = $info['path'];
|
||||||
if (!$n && substr($info['path'],-1) == '/') $path = substr($info['path'],0,-1);
|
if (!$n && $info['path'] != '/' && substr($info['path'],-1) == '/') $path = substr($info['path'],0,-1);
|
||||||
$path2n[$path] = $n;
|
$path2n[$path] = $n;
|
||||||
|
|
||||||
// adding some properties used instead of regular DAV times
|
// adding some properties used instead of regular DAV times
|
||||||
|
Loading…
Reference in New Issue
Block a user