mirror of https://gitlab.com/bashrc2/epicyon
Check nickname
parent
d5a43f6844
commit
87581299ce
|
@ -2381,11 +2381,8 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
actor=self.path.split('?actor=')[1]
|
actor=self.path.split('?actor=')[1]
|
||||||
if '?' in actor:
|
if '?' in actor:
|
||||||
actor=actor.split('?')[0]
|
actor=actor.split('?')[0]
|
||||||
actor=self.server.domainFull+'/users/'+actor
|
nickname=getNicknameFromActor(self.path)
|
||||||
print('Edit blog actor: '+actor)
|
if nickname==actor:
|
||||||
pathWithoutOptions=self.path.split('?')[0]
|
|
||||||
print('Edit blog path: '+pathWithoutOptions)
|
|
||||||
if actor+'/' in pathWithoutOptions:
|
|
||||||
msg=None
|
msg=None
|
||||||
nickname=getNicknameFromActor(self.path)
|
nickname=getNicknameFromActor(self.path)
|
||||||
if nickname:
|
if nickname:
|
||||||
|
|
Loading…
Reference in New Issue