[Pkg-owncloud-commits] [owncloud] 04/394: normalize path
David Prévot
taffit at alioth.debian.org
Fri Nov 8 23:11:12 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.
commit 9eae10b94ad73a8d52c329588f9ebce7741a0af6
Author: Björn Schießle <schiessle at owncloud.com>
Date: Wed Oct 24 17:23:36 2012 +0200
normalize path
---
lib/filecache.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/filecache.php b/lib/filecache.php
index a36cfef..689ea12 100644
--- a/lib/filecache.php
+++ b/lib/filecache.php
@@ -65,7 +65,7 @@ class OC_FileCache{
if($root===false) {
$root=OC_Filesystem::getRoot();
}
- $fullpath=$root.$path;
+ $fullpath=OC_Filesystem::normalizePath($root.'/'.$path);
$parent=self::getParentId($fullpath);
$id=self::getId($fullpath,'');
if(isset(OC_FileCache_Cached::$savedData[$fullpath])) {
--
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