X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FProfile%2FProfile.php;h=d753cd762ea004509cc936d1a4fb874ccd3e9877;hb=c81a9d1ddd7e5b7fff6a173a159ae78ee7fc7698;hp=864b8a76e8756450a87ab5a7aae2ab63e083ac62;hpb=a522267c9dd2a5b3d4a1cf5c0e88d5e2eb27c551;p=friendica.git
diff --git a/src/Module/Profile/Profile.php b/src/Module/Profile/Profile.php
index 864b8a76e8..d753cd762e 100644
--- a/src/Module/Profile/Profile.php
+++ b/src/Module/Profile/Profile.php
@@ -1,6 +1,6 @@
baseUrl . '/feed/' . $nickname . '/" title="' . $this->t('%s\'s posts', $profile['name']) . '"/>' . "\n";
$htmlhead .= '' . "\n";
$htmlhead .= '' . "\n";
- $uri = urlencode('acct:' . $profile['nickname'] . '@' . $this->baseUrl->getHostname() . ($this->baseUrl->getUrlPath() ? '/' . $this->baseUrl->getUrlPath() : ''));
+ $uri = urlencode('acct:' . $profile['nickname'] . '@' . $this->baseUrl->getHost() . ($this->baseUrl->getPath() ? '/' . $this->baseUrl->getPath() : ''));
$htmlhead .= '' . "\n";
header('Link: <' . $this->baseUrl . '/xrd/?uri=' . $uri . '>; rel="lrdd"; type="application/xrd+xml"', false);