diff options
author | Björn Schießle <schiessle@owncloud.com> | 2012-10-24 17:23:36 +0200 |
---|---|---|
committer | Björn Schießle <schiessle@owncloud.com> | 2012-10-24 17:39:39 +0200 |
commit | 0c2a4264c9f42c045e3b8b0f9c0f359d5c1025e0 (patch) | |
tree | 757f823f59d6d795531ab7fb8fcbc3f3fc3d9d23 | |
parent | 07e08d59289c39417fdba2e5d1a2e5540eb369d0 (diff) | |
download | nextcloud-server-0c2a4264c9f42c045e3b8b0f9c0f359d5c1025e0.tar.gz nextcloud-server-0c2a4264c9f42c045e3b8b0f9c0f359d5c1025e0.zip |
normalize path
-rw-r--r-- | lib/filecache.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/filecache.php b/lib/filecache.php index 776b60abcac..f768ea8cec8 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])) { |