]> cat aescling's git repositories - mastodon.git/commit
Validate id of ActivityPub representations (#5114)
authorAkihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp>
Tue, 3 Oct 2017 23:13:48 +0000 (08:13 +0900)
committerEugen Rochko <eugen@zeonfederated.com>
Tue, 3 Oct 2017 23:13:48 +0000 (01:13 +0200)
commit63f097979990bf5ba9db848b8a253056bad781af
treea1681de3a9e40b977adbf4c54332e4ab787bd13e
parentec13cfa4f940e9f9441ceff1f7389bb0e1bd61fb
Validate id of ActivityPub representations (#5114)

Additionally, ActivityPub::FetchRemoteStatusService no longer parses
activities.
OStatus::Activity::Creation no longer delegates to ActivityPub because
the provided ActivityPub representations are not signed while OStatus
representations are.
17 files changed:
app/controllers/concerns/signature_verification.rb
app/helpers/jsonld_helper.rb
app/lib/activitypub/activity/announce.rb
app/lib/activitypub/activity/create.rb
app/lib/activitypub/linked_data_signature.rb
app/lib/ostatus/activity/creation.rb
app/services/activitypub/fetch_remote_account_service.rb
app/services/activitypub/fetch_remote_key_service.rb
app/services/activitypub/fetch_remote_status_service.rb
app/services/activitypub/process_account_service.rb
app/services/fetch_atom_service.rb
app/services/fetch_remote_account_service.rb
app/services/fetch_remote_status_service.rb
app/services/resolve_remote_account_service.rb
spec/helpers/jsonld_helper_spec.rb
spec/services/activitypub/fetch_remote_account_service_spec.rb
spec/services/activitypub/fetch_remote_status_service_spec.rb