]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/GServer.php
Fix phpcbf style errors in part of code I didn't change
[friendica.git] / src / Model / GServer.php
index a74f50fd65e16cc42d4bc1465d5b2a4eb1c2a09e..0a3590419b59f499890f259ed0ccf741ba4a950e 100644 (file)
@@ -1060,10 +1060,11 @@ class GServer
                                Logger::info('Invalid nodeinfo format', ['url' => $url]);
                                continue;
                        }
+
                        if ($link['rel'] == 'http://nodeinfo.diaspora.software/ns/schema/1.0') {
-                               $nodeinfo1_url = $link['href'];
+                               $nodeinfo1_url = Network::addBasePath($link['href'], $httpResult->getUrl());
                        } elseif ($link['rel'] == 'http://nodeinfo.diaspora.software/ns/schema/2.0') {
-                               $nodeinfo2_url = $link['href'];
+                               $nodeinfo2_url = Network::addBasePath($link['href'], $httpResult->getUrl());
                        }
                }