diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-11-11 20:20:09 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-11-11 20:20:09 +0100 |
commit | fd709fc0217b2dc6b9b4a46aae4c9df721641084 (patch) | |
tree | bc98df9f93acc053aad2ec129f641f78a0575fef /lib/files.php | |
parent | 972ba89bc2abb8510810d814c08cc02c44ea533c (diff) | |
parent | 3be21cf6656342c4ef7713ee9b111b809122a709 (diff) | |
download | nextcloud-server-fd709fc0217b2dc6b9b4a46aae4c9df721641084.tar.gz nextcloud-server-fd709fc0217b2dc6b9b4a46aae4c9df721641084.zip |
Merge branch 'master' of github.com:owncloud/core into vcategories_db
Diffstat (limited to 'lib/files.php')
-rw-r--r-- | lib/files.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/files.php b/lib/files.php index 3e15c68d885..ac4aa36c01d 100644 --- a/lib/files.php +++ b/lib/files.php @@ -42,6 +42,7 @@ class OC_Files { * - versioned */ public static function getFileInfo($path) { + $path = OC_Filesystem::normalizePath($path); if (($path == '/Shared' || substr($path, 0, 8) == '/Shared/') && OC_App::isEnabled('files_sharing')) { if ($path == '/Shared') { list($info) = OCP\Share::getItemsSharedWith('file', OC_Share_Backend_File::FORMAT_FILE_APP_ROOT); |