X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fprobe.php;h=8c951a7fcfd62f63f9c3fbe5bda5a02af735ad65;hb=f146c85e75314462823076a9d89ac2e698e6de45;hp=95f856bfa1499b77c495119196b6fd4ede39eebe;hpb=63e2695d226d195c6a97e1045d6b174591dd2487;p=friendica.git diff --git a/mod/probe.php b/mod/probe.php index 95f856bfa1..8c951a7fcf 100644 --- a/mod/probe.php +++ b/mod/probe.php @@ -4,6 +4,13 @@ require_once('include/Scrape.php'); function probe_content(App $a) { + if (!local_user()) { + http_status_exit(403, + array("title" => t("Public access denied."), + "description" => t("Only logged in users are permitted to perform a probing."))); + killme(); + } + $o .= '