From 592656c699e9d8f2aa1cfcf7838b69bb5a552915 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bj=C3=B6rn=20Schie=C3=9Fle?= Date: Mon, 17 Jun 2013 14:42:18 +0200 Subject: [PATCH] don't normalize absolute local path --- apps/files_versions/lib/versions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5