From 87581299ce1f4bfb9a6c1771f6845893c0f9ba17 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 1 Mar 2020 13:11:59 +0000 Subject: [PATCH] Check nickname --- daemon.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/daemon.py b/daemon.py index ebbd4fad..630feb7d 100644 --- a/daemon.py +++ b/daemon.py @@ -2381,11 +2381,8 @@ class PubServer(BaseHTTPRequestHandler): actor=self.path.split('?actor=')[1] if '?' in actor: actor=actor.split('?')[0] - actor=self.server.domainFull+'/users/'+actor - print('Edit blog actor: '+actor) - pathWithoutOptions=self.path.split('?')[0] - print('Edit blog path: '+pathWithoutOptions) - if actor+'/' in pathWithoutOptions: + nickname=getNicknameFromActor(self.path) + if nickname==actor: msg=None nickname=getNicknameFromActor(self.path) if nickname: