From ddee63fa00e13e1830aa4b6113d30f24b3b34535 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 26 Jan 2015 17:48:09 +0100 Subject: Fix resolving paths for views rooted in a file --- lib/private/files/filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/files/filesystem.php') diff --git a/lib/private/files/filesystem.php b/lib/private/files/filesystem.php index c460159ece3..140d892652f 100644 --- a/lib/private/files/filesystem.php +++ b/lib/private/files/filesystem.php @@ -293,7 +293,7 @@ class Filesystem { } $mount = self::$mounts->find($path); if ($mount) { - return array($mount->getStorage(), $mount->getInternalPath($path)); + return array($mount->getStorage(), rtrim($mount->getInternalPath($path), '/')); } else { return array(null, null); } -- cgit v1.2.3