summaryrefslogtreecommitdiffstats
path: root/apps/files_versions
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-06-17 14:42:18 +0200
committerBjörn Schießle <schiessle@owncloud.com>2013-06-17 14:42:18 +0200
commitefb026c664376c1091dfad59a506c076e69f0640 (patch)
treeeb3022fbb684cfbdd4a0f3bb961eaa34e51edabd /apps/files_versions
parentc3371812a0dfcd706413e26327f9bbfde33e95c9 (diff)
downloadnextcloud-server-efb026c664376c1091dfad59a506c076e69f0640.tar.gz
nextcloud-server-efb026c664376c1091dfad59a506c076e69f0640.zip
don't normalize absolute local path
Diffstat (limited to 'apps/files_versions')
-rw-r--r--apps/files_versions/lib/versions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/versions.php b/apps/files_versions/lib/versions.php
index 757926cd77a..2f8262475b4 100644
--- a/apps/files_versions/lib/versions.php
+++ b/apps/files_versions/lib/versions.php
@@ -241,7 +241,7 @@ class Storage {
public static function getVersions($uid, $filename, $count = 0 ) {
if( \OCP\Config::getSystemValue('files_versions', Storage::DEFAULTENABLED)=='true' ) {
$versions_fileview = new \OC\Files\View('/' . $uid . '/files_versions');
- $versionsName = \OC_Filesystem::normalizePath($versions_fileview->getLocalFile($filename).'.v');
+ $versionsName = $versions_fileview->getLocalFile($filename).'.v';
$escapedVersionName = preg_replace('/(\*|\?|\[)/', '[$1]', $versionsName);
$versions = array();