diff --git a/daemon.py b/daemon.py index 700d26a9d..e9746cdfa 100644 --- a/daemon.py +++ b/daemon.py @@ -6309,7 +6309,7 @@ class PubServer(BaseHTTPRequestHandler): postFilename = None nickname = getNicknameFromActor(announceUrl) if nickname: - if announceUrl.endswith(domainFull + '/users/' + nickname): + if domainFull + '/users/' + nickname + '/' in announceUrl: postFilename = \ locatePost(baseDir, nickname, domain, announceUrl) if postFilename: