diff options
author | Bart Visscher <bartv@thisnet.nl> | 2012-09-14 23:15:52 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2012-09-17 20:00:31 +0200 |
commit | ab33578add88a94b94835741044b6dbfca4720af (patch) | |
tree | a4973e2f3b1485a2eefd9445f4e9efcf95d6140f /lib | |
parent | 7811fa4fafae2f2be643a03ed6186a34a83ad059 (diff) | |
download | nextcloud-server-ab33578add88a94b94835741044b6dbfca4720af.tar.gz nextcloud-server-ab33578add88a94b94835741044b6dbfca4720af.zip |
Normalize path before calling removeETagPropertyForPath
This should also fix the dirname problem on windows
Diffstat (limited to 'lib')
-rw-r--r-- | lib/filesystem.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/filesystem.php b/lib/filesystem.php index 92eb4fa4778..ce4d3a0cf48 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); } |