mirror of https://gitlab.com/bashrc2/epicyon
Parsing edit blog post link
parent
eee33cdb32
commit
cbb76eb97b
|
@ -14402,13 +14402,13 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
if authorized and \
|
||||
'/users/' in self.path and \
|
||||
'?editblogpost=' in self.path and \
|
||||
'?actor=' in self.path:
|
||||
';actor=' in self.path:
|
||||
messageId = self.path.split('?editblogpost=')[1]
|
||||
if '?' in messageId:
|
||||
messageId = messageId.split('?')[0]
|
||||
actor = self.path.split('?actor=')[1]
|
||||
if '?' in actor:
|
||||
actor = actor.split('?')[0]
|
||||
actor = self.path.split(';actor=')[1]
|
||||
if ';' in actor:
|
||||
actor = actor.split(';')[0]
|
||||
nickname = getNicknameFromActor(self.path.split('?')[0])
|
||||
if nickname == actor:
|
||||
postUrl = \
|
||||
|
|
Loading…
Reference in New Issue