]> git.mxchange.org Git - friendica.git/blobdiff - mod/webfinger.php
Merge branch 'master' of https://github.com/friendica/friendica
[friendica.git] / mod / webfinger.php
old mode 100644 (file)
new mode 100755 (executable)
index 5ef29e4..74bd2c9
@@ -13,7 +13,7 @@ function webfinger_content(&$a) {
        $o .= '<br /><br />';
 
        if(x($_GET,'addr')) {
-               $addr = $_GET['addr'];
+               $addr = trim($_GET['addr']);
                if(strpos($addr,'@' !== false))
                        $res = webfinger($addr);
                else
@@ -23,4 +23,4 @@ function webfinger_content(&$a) {
                $o .= '</pre>';
        }
        return $o;
-}
\ No newline at end of file
+}