]> source.dussan.org Git - nextcloud-server.git/commitdiff
don't normalize absolute local path
authorBjörn Schießle <schiessle@owncloud.com>
Mon, 17 Jun 2013 12:42:18 +0000 (14:42 +0200)
committerBjörn Schießle <schiessle@owncloud.com>
Mon, 17 Jun 2013 13:39:56 +0000 (15:39 +0200)
apps/files_versions/lib/versions.php

index 757926cd77a64aac13911ff4623f7b5eef4e7e92..2f8262475b44e6f774b88863df60168c2600c390 100644 (file)
@@ -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();