diff --git a/lib/AppWhitelist.php b/lib/AppWhitelist.php index 470e2df2..5d891f00 100644 --- a/lib/AppWhitelist.php +++ b/lib/AppWhitelist.php @@ -83,7 +83,8 @@ public function verifyAccess(IUser $user, IRequest $request): void { if (!$this->isUrlAllowed($user, $url)) { header('HTTP/1.0 403 Forbidden'); Template::printErrorPage($this->l10n->t( - "Access to this resource ($app) is forbidden for guests." + 'Access to this resource (%s) is forbidden for guests.', + [$app] )); exit; }