mastodon/app/services
ThibG 8b8004a962
Fix webfinger redirect handling in ResolveAccountService (#15187)
* Fix webfinger redirect handling in ResolveAccountService

ResolveAccountService#process_webfinger! handled a one-step webfinger
redirection, but only accepting the result if it matched the exact URI passed
as input, defeating the point of a redirection check.

Instead, use the same logic as in `ActivityPub::FetchRemoteAccountService`,
updating the resulting `acct:` URI with the result of the first webfinger
query.

* Add tests
2020-11-19 19:52:06 +01:00
..
activitypub Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
concerns
keys
account_search_service.rb
after_block_domain_from_account_service.rb
after_block_service.rb
after_unallow_domain_service.rb
app_sign_up_service.rb Add IP-based rules (#14963) 2020-10-12 16:33:49 +02:00
authorize_follow_service.rb
backup_service.rb
base_service.rb
batched_remove_status_service.rb
block_domain_service.rb Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
block_service.rb
bootstrap_timeline_service.rb
clear_domain_media_service.rb
delete_account_service.rb Fix sending spurious Rejects when processing remote account deletion (#15104) 2020-11-19 17:39:47 +01:00
deliver_to_device_service.rb
fan_out_on_write_service.rb Fix DMs not appearing into timelines (#15182) 2020-11-19 00:23:46 +01:00
favourite_service.rb
fetch_link_card_service.rb
fetch_oembed_service.rb Fix link crawler not specifying accepted content-type (#12646) 2019-12-18 16:56:06 +01:00
fetch_remote_status_service.rb
fetch_resource_service.rb
follow_service.rb
import_service.rb Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
move_service.rb
mute_service.rb Add duration parameter to muting. (#13831) 2020-10-13 01:01:14 +02:00
notify_service.rb
post_status_service.rb
precompute_feed_service.rb
process_hashtags_service.rb
process_mentions_service.rb Fix followers synchronization mechanism not being triggered on mentions (#15026) 2020-10-23 14:22:16 +02:00
reblog_service.rb
reject_follow_service.rb
remove_status_service.rb
report_service.rb Refactor all ActivityPub deliveries to be serialized and signed through one concern (#10966) 2019-06-04 23:11:18 +02:00
resolve_account_service.rb Fix webfinger redirect handling in ResolveAccountService (#15187) 2020-11-19 19:52:06 +01:00
resolve_url_service.rb
search_service.rb
suspend_account_service.rb Add cache buster feature for media files (#15155) 2020-11-19 17:38:06 +01:00
tag_search_service.rb
unallow_domain_service.rb
unblock_domain_service.rb Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
unblock_service.rb
unfavourite_service.rb
unfollow_service.rb
unmute_service.rb
unsuspend_account_service.rb Add cache buster feature for media files (#15155) 2020-11-19 17:38:06 +01:00
update_account_service.rb
verify_link_service.rb
vote_service.rb