diff --git a/webapp_profile.py b/webapp_profile.py index aa5c90470..cb382c27d 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -104,7 +104,11 @@ def htmlProfileAfterSearch(cssCache: {}, personUrl = profileJson['id'] searchDomain, searchPort = getDomainFromActor(personUrl) + if not searchDomain: + return None searchNickname = getNicknameFromActor(personUrl) + if not searchNickname: + return None searchDomainFull = getFullDomain(searchDomain, searchPort) profileStr = ''