X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FProxy.php;h=75a1142af6221331ce4715d3a87c7f8988a7c44f;hb=c0cb1a194e0392233f3644557c8e4bcf84f5a686;hp=387667a1a5a20c58e9cc6d246b3e501a7af620e7;hpb=51210af22157327376954721bfdca7161b66a7be;p=friendica.git diff --git a/src/Module/Proxy.php b/src/Module/Proxy.php index 387667a1a5..75a1142af6 100644 --- a/src/Module/Proxy.php +++ b/src/Module/Proxy.php @@ -70,7 +70,7 @@ class Proxy extends BaseModule $request = self::getRequestInfo(); if (empty($request['url'])) { - System::httpExit(400, ['title' => L10n::t('Bad Request.')]); + throw new \Friendica\Network\HTTPException\BadRequestException(); } // Webserver already tried direct cache...