diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2015-01-14 21:06:26 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-01-19 09:16:15 +0100 |
commit | 15ae6b47edf08a1fd60a0941c3786372afad5baa (patch) | |
tree | 114df784b78a1a87b352082271f4dd8baeb22844 /apps/files_versions | |
parent | 4fcfedb03cb60fe60617fd8d7609d5d1397789a5 (diff) | |
download | nextcloud-server-15ae6b47edf08a1fd60a0941c3786372afad5baa.tar.gz nextcloud-server-15ae6b47edf08a1fd60a0941c3786372afad5baa.zip |
replace hook with storage wrapper
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/lib/storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_versions/lib/storage.php b/apps/files_versions/lib/storage.php index 0fbb80f425f..60a4c463fd5 100644 --- a/apps/files_versions/lib/storage.php +++ b/apps/files_versions/lib/storage.php @@ -327,7 +327,7 @@ class Storage { } else { $versions[$key]['preview'] = \OCP\Util::linkToRoute('core_ajax_versions_preview', array('file' => $userFullPath, 'version' => $timestamp)); } - $versions[$key]['path'] = $pathinfo['dirname'] . '/' . $filename; + $versions[$key]['path'] = \OC\Files\Filesystem::normalizePath($pathinfo['dirname'] . '/' . $filename); $versions[$key]['name'] = $versionedFile; $versions[$key]['size'] = $view->filesize($dir . '/' . $entryName); } |