From fc57d4b96c11fe82a860a894b8b2e4e5a93918fb Mon Sep 17 00:00:00 2001 From: kdslkdsaldsal Date: Wed, 15 Feb 2017 09:50:36 +0100 Subject: [PATCH] Fix malformed logging in exception Signed-off-by: Morris Jobke --- lib/private/Files/View.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Files/View.php b/lib/private/Files/View.php index 6ffb5edff3e..67356fa63cf 100644 --- a/lib/private/Files/View.php +++ b/lib/private/Files/View.php @@ -2068,7 +2068,7 @@ class View { $parts = explode('/', trim($path, '/'), 3); // "$user", "files", "path/to/dir" if (!isset($parts[1]) || $parts[1] !== 'files') { - throw new \InvalidArgumentException('$absolutePath must be relative to "files"'); + throw new \InvalidArgumentException('"' . $absolutePath . '" must be relative to "files"'); } if (isset($parts[2])) { return $parts[2]; -- 2.39.5