]> cat aescling's git repositories - mastodon.git/commit
Dereference object URIs in Create and Update messages (#14359)
authorThibG <thib@sitedethib.com>
Wed, 22 Jul 2020 09:43:17 +0000 (11:43 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Jul 2020 09:43:17 +0000 (11:43 +0200)
commitbcf85b5208c936486550da0ce978098840218073
tree10dd2d9da71622ccb7b600c0ec495f86b68fe7a7
parenta8b6524b43235a3ce477b7594c918eaa957f27a2
Dereference object URIs in Create and Update messages (#14359)

* Dereference object URIs in Create and Update messages

Fixes #14353

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
* Refactor, and perform origin check *before* attempting to fetch object

Co-authored-by: Fire Demon <firedemon@creature.cafe>
app/lib/activitypub/activity.rb
app/lib/activitypub/activity/create.rb
app/lib/activitypub/activity/update.rb