X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=a48d2dba6bac2634c0032a74ba238f5dfac8503b;hb=8db4af3d001cd105d0d769f03395138945209e77;hp=eee0580e3178c8b8a492ecf73fcbd1c718bb82fa;hpb=f852f7aac0b44f243d3cd812aa92122f7b38067b;p=friendica.git diff --git a/mod/webfinger.php b/mod/webfinger.php index eee0580e31..a48d2dba6b 100644 --- a/mod/webfinger.php +++ b/mod/webfinger.php @@ -1,22 +1,42 @@ L10n::t("Public access denied."), + "description" => L10n::t("Only logged in users are permitted to perform a probing.") + ] + ); + killme(); + } + $o = '
'; $o .= '

Webfinger Diagnostic

'; $o .= '
'; - $o .= 'Lookup address: '; + $o .= 'Lookup address: '; $o .= '
'; $o .= '

'; - if(x($_GET,'addr')) { + if (!empty($_GET['addr'])) { $addr = trim($_GET['addr']); $res = Probe::lrdd($addr); $o .= '
';
-		$o .= str_replace("\n",'
',print_r($res,true)); + $o .= str_replace("\n", '
', print_r($res, true)); $o .= '
'; } + $o .= '
'; + return $o; }