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 \
|
if authorized and \
|
||||||
'/users/' in self.path and \
|
'/users/' in self.path and \
|
||||||
'?editblogpost=' in self.path and \
|
'?editblogpost=' in self.path and \
|
||||||
'?actor=' in self.path:
|
';actor=' in self.path:
|
||||||
messageId = self.path.split('?editblogpost=')[1]
|
messageId = self.path.split('?editblogpost=')[1]
|
||||||
if '?' in messageId:
|
if '?' in messageId:
|
||||||
messageId = messageId.split('?')[0]
|
messageId = messageId.split('?')[0]
|
||||||
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]
|
||||||
nickname = getNicknameFromActor(self.path.split('?')[0])
|
nickname = getNicknameFromActor(self.path.split('?')[0])
|
||||||
if nickname == actor:
|
if nickname == actor:
|
||||||
postUrl = \
|
postUrl = \
|
||||||
|
|
Loading…
Reference in New Issue