[Pkg-owncloud-commits] [owncloud] 416/457: ensure normalized path form when changing locks

David Prévot taffit at moszumanska.debian.org
Sun Jun 28 20:06:59 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 9c0d69a3b2925a14b482132a827dbec8f7fc64bb
Author: Robin Appelman <icewind at owncloud.com>
Date:   Wed Jun 10 15:18:45 2015 +0200

    ensure normalized path form when changing locks
---
 lib/private/files/view.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index c5494b9..d6c33d9 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;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list