From: xray7224 Date: Mon, 2 Sep 2013 15:23:40 +0000 (+0100) Subject: Fixes problem where full URL was being used inplace of host X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=37f070b06786c20f320231bc467b35ccab6270dc;p=mediagoblin.git Fixes problem where full URL was being used inplace of host --- diff --git a/mediagoblin/db/models.py b/mediagoblin/db/models.py index ca4efdd1..91efc0b6 100644 --- a/mediagoblin/db/models.py +++ b/mediagoblin/db/models.py @@ -141,7 +141,7 @@ class User(Base, UserMixin): user = { "id": "acct:{0}@{1}".format(self.username, request.host), "preferredUsername": self.username, - "displayName": "{0}@{1}".format(self.username, request.url), + "displayName": "{0}@{1}".format(self.username, request.host), "objectType": "person", "url": self.url, "summary": self.bio,