summaryrefslogtreecommitdiffstats
path: root/lib/files.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-11-11 20:20:09 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-11-11 20:20:09 +0100
commitfd709fc0217b2dc6b9b4a46aae4c9df721641084 (patch)
treebc98df9f93acc053aad2ec129f641f78a0575fef /lib/files.php
parent972ba89bc2abb8510810d814c08cc02c44ea533c (diff)
parent3be21cf6656342c4ef7713ee9b111b809122a709 (diff)
downloadnextcloud-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.php1
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);