X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=mod%2Fwebfinger.php;h=f6d6026b406bfd0ce5ce76fddcfbac27574e844a;hb=cfc7f8308f5e1756d1ea7b2fadd317821442d16c;hp=dd6d72a13cca9963c7182c67a6df1badbebec73e;hpb=7acb8fa6e7144435b81b57e3ad949846b1cbb68d;p=friendica.git
diff --git a/mod/webfinger.php b/mod/webfinger.php
index dd6d72a13c..f6d6026b40 100644
--- a/mod/webfinger.php
+++ b/mod/webfinger.php
@@ -13,12 +13,14 @@ function webfinger_content(&$a) {
$o .= '
';
if(x($_GET,'addr')) {
- $addr = $_GET['addr'];
+ $addr = trim($_GET['addr']);
if(strpos($addr,'@' !== false))
$res = webfinger($addr);
else
$res = lrdd($addr);
+ $o .= '
'; $o .= str_replace("\n",''; } return $o; } \ No newline at end of file
',print_r($res,true)); + $o .= '