forked from indymedia/epicyon
Check that authorized path corresponds with the post being deleted
parent
3d01f3c2af
commit
be84d50759
|
@ -2592,6 +2592,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
removeMessageId=removeMessageId.split('&')[0]
|
||||
if '/statuses/' in removeMessageId:
|
||||
removePostActor=removeMessageId.split('/statuses/')[0]
|
||||
if originPathStr in removePostActor:
|
||||
deleteJson= {
|
||||
"@context": "https://www.w3.org/ns/activitystreams",
|
||||
'actor': removePostActor,
|
||||
|
|
Loading…
Reference in New Issue