diff options
author | Anthony Wang | 2023-01-18 20:43:57 +0000 |
---|---|---|
committer | Anthony Wang | 2023-01-18 20:43:57 +0000 |
commit | 4fbf68e7003cfe34f45ffe214db340ff7d090b4b (patch) | |
tree | 76071e3733af7c85c65169f0e0e74f4582043d8d /server.py | |
parent | f054570ee25fdd33cdd4770939c1c47c73ac9ddf (diff) |
Fix bug in impersonation check
Diffstat (limited to 'server.py')
-rw-r--r-- | server.py | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -88,7 +88,6 @@ class fuwuqi(SimpleHTTPRequestHandler): actor = keyid.removesuffix('#main-key') if ('actor' in activity and activity['actor'] != actor) or \ ('attributedTo' in activity and activity['attributedTo'] != actor) or \ - ('actor' in activity['object'] and activity['object']['actor'] != actor) or \ ('attributedTo' in activity['object'] and activity['object']['attributedTo'] != actor): self.send_response(401) return |