X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fwebfinger.php;h=e1e5b367b9d2054edd878f4201bd4b47e6c3c553;hb=0c9cc29a51941eb572bf16fd5489d0947d47d033;hp=dd6d72a13cca9963c7182c67a6df1badbebec73e;hpb=7acb8fa6e7144435b81b57e3ad949846b1cbb68d;p=friendica.git
diff --git a/mod/webfinger.php b/mod/webfinger.php
index dd6d72a13c..e1e5b367b9 100644
--- a/mod/webfinger.php
+++ b/mod/webfinger.php
@@ -1,6 +1,5 @@
';
$o .= 'Lookup address: ';
- $o .= '';
+ $o .= '';
$o .= '
';
if(x($_GET,'addr')) {
- $addr = $_GET['addr'];
- if(strpos($addr,'@' !== false))
- $res = webfinger($addr);
- else
- $res = lrdd($addr);
+ $addr = trim($_GET['addr']);
+ $res = Probe::lrdd($addr);
+ $o .= '
'; $o .= str_replace("\n",''; } return $o; -} \ No newline at end of file +}
',print_r($res,true)); + $o .= '