]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Proxy.php
Moving Search to Core, Refactor Objects
[friendica.git] / src / Module / Proxy.php
index 387667a1a5a20c58e9cc6d246b3e501a7af620e7..75a1142af6221331ce4715d3a87c7f8988a7c44f 100644 (file)
@@ -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...