mirror of
https://gitlab.com/bashrc2/epicyon
synced 2026-10-31 01:51:15 +00:00
Check users in path
This commit is contained in:
1 parent
e60ad9c733
commit
4cfa6ec63b
1 file changed
+2
-1
@@ -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]
|
||||
|
||||
Reference in new issue
Block a user