aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/files/view.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index c5494b9b3ed..d6c33d948dc 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;