Check users in path

merge-requests/30/head
Bob Mottram 2021-02-17 09:52:06 +00:00
parent e60ad9c733
commit 4cfa6ec63b
1 changed files with 2 additions and 1 deletions

View File

@ -11601,7 +11601,8 @@ class PubServer(BaseHTTPRequestHandler):
print('DEBUG: replydm path ' + self.path)
# Edit a blog post
if '/tlblogs' in self.path and \
if authorized and \
'/users/' in self.path and \
'?editblogpost=' in self.path and \
'?actor=' in self.path:
messageId = self.path.split('?editblogpost=')[1]