Skip to content
Snippets Groups Projects
Commit 78a022fd authored by Bart Visscher's avatar Bart Visscher
Browse files

dirname can also return '.' for empty path

parent 10b74f9d
No related branches found
No related tags found
No related merge requests found
......@@ -235,7 +235,7 @@ abstract class OC_Connector_Sabre_Node implements Sabre_DAV_INode, Sabre_DAV_IPr
static public function removeETagPropertyForPath($path) {
// remove tags from this and parent paths
$paths = array();
while ($path != '/' && $path != '') {
while ($path != '/' && $path != '.' && $path != '') {
$paths[] = $path;
$path = dirname($path);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment