X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=inline;f=mod%2Fwebfinger.php;h=74bd2c9543c6ceda125719b075f1fe08f7845c08;hb=34081010ff2eeab2863bfe409f7fd75ecb9e2b20;hp=dd6d72a13cca9963c7182c67a6df1badbebec73e;hpb=770d1bb7a368cdaba8e7340b54fd4b13ffea66b8;p=friendica.git
diff --git a/mod/webfinger.php b/mod/webfinger.php
index dd6d72a13c..74bd2c9543 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 .= '