]> cat aescling's git repositories - mastodon.git/commit
Improve federated ID validation (#8372)
authorEugen Rochko <eugen@zeonfederated.com>
Wed, 22 Aug 2018 18:55:14 +0000 (20:55 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Aug 2018 18:55:14 +0000 (20:55 +0200)
commit802cf6a4c53175c7da17ded39cf75679fa352385
treeea3833a78c7282626f58475175d491254a64e0d8
parentad41806e53e6b024aaca01d1d59fcc82d1c4b804
Improve federated ID validation (#8372)

* Fix URI not being sufficiently validated with prefetched JSON

* Add additional id validation to OStatus documents, when possible
app/helpers/jsonld_helper.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/fetch_remote_account_service.rb
spec/services/activitypub/fetch_remote_account_service_spec.rb
spec/services/activitypub/fetch_remote_status_service_spec.rb
spec/services/fetch_remote_account_service_spec.rb
spec/services/fetch_remote_status_service_spec.rb