Make sure we append a slash to the path

This commit is contained in:
bohwaz 2024-01-09 00:17:31 +01:00
parent 4db04614da
commit 3d0618d43f

View file

@ -70,7 +70,7 @@ class Users
mkdir($user->path, 0770, true);
}
$user->path = realpath($user->path);
$user->path = rtrim(realpath($user->path), '/') . '/';
$user->dav_url = WWW_URL . 'files/' . $user->login . '/';
}