From: kdslkdsaldsal Date: Wed, 15 Feb 2017 08:50:36 +0000 (+0100) Subject: Fix malformed logging in exception X-Git-Tag: v12.0.0beta1~364^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fc57d4b96c11fe82a860a894b8b2e4e5a93918fb;p=nextcloud-server.git Fix malformed logging in exception Signed-off-by: Morris Jobke --- 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];