From ab33578add88a94b94835741044b6dbfca4720af Mon Sep 17 00:00:00 2001
From: Bart Visscher <bartv@thisnet.nl>
Date: Fri, 14 Sep 2012 23:15:52 +0200
Subject: [PATCH] Normalize path before calling removeETagPropertyForPath

This should also fix the dirname problem on windows
---
 lib/filesystem.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/filesystem.php b/lib/filesystem.php
index 92eb4fa477..ce4d3a0cf4 100644
--- a/lib/filesystem.php
+++ b/lib/filesystem.php
@@ -527,6 +527,7 @@ class OC_Filesystem{
 		} else {
 			$path=$params['oldpath'];
 		}
+		$path = self::normalizePath($path);
 		OC_Connector_Sabre_Node::removeETagPropertyForPath($path);
 	}
 
-- 
GitLab