]> git.mxchange.org Git - friendica.git/commitdiff
FollowUp Acctlink move
authorPhilipp Holzer <admin@philipp.info>
Sun, 14 Oct 2018 08:31:11 +0000 (10:31 +0200)
committerPhilipp Holzer <admin@philipp.info>
Sun, 14 Oct 2018 08:31:11 +0000 (10:31 +0200)
src/Module/Acctlink.php

index f14905277a876eaeadd3e0f755f8038bf8c5d66c..29aa99140c5316948c5035d791b26ebb712dc805 100644 (file)
@@ -12,10 +12,10 @@ class Acctlink extends BaseModule
 {
        public static function content()
        {
-               $addr = defaults($_REQUEST, 'addr', false);
+               $addr = defaults($_GET, 'addr', false);
 
                if ($addr) {
-                       $url = defaults(Probe::uri($addr), 'url', false);
+                       $url = defaults(Probe::uri(trim($addr)), 'url', false);
 
                        if ($url) {
                                goaway($url);