diff --git a/lib/private/files/view.php b/lib/private/files/view.php index c5494b9b3e..d6c33d948d 100644 --- a/lib/private/files/view.php +++ b/lib/private/files/view.php @@ -1694,6 +1694,7 @@ class View { * @throws \OCP\Lock\LockedException if the path is already locked */ public function changeLock($path, $type) { + $path = Filesystem::normalizePath($path); $absolutePath = $this->getAbsolutePath($path); if (!$this->shouldLockFile($absolutePath)) { return false;