Skip to content

Commit

Permalink
AP.inbox: bug fix for same-domain check
Browse files Browse the repository at this point in the history
  • Loading branch information
snarfed committed Dec 6, 2024
1 parent e658f10 commit a386aac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activitypub.py
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ def inbox(protocol=None, id=None):
elif (type in as2.CRUD_VERBS and obj_id
and actor_domain != util.domain_from_link(obj_id)):
report_error('Auth: actor and object on different domains',
user=f'actor {actor_id} object {id}')
user=f'actor {actor_id} object {obj_id}')

# are we already processing or done with this activity?
if id:
Expand Down

0 comments on commit a386aac

Please sign in to comment.