instante-social/spec/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
account_search_service_spec.rb
after_block_domain_from_account_service_spec.rb
after_block_service_spec.rb
app_sign_up_service_spec.rb Add IP-based rules (#14963) 2020-10-12 16:33:49 +02:00
authorize_follow_service_spec.rb
batched_remove_status_service_spec.rb
block_domain_service_spec.rb
block_service_spec.rb
bootstrap_timeline_service_spec.rb
clear_domain_media_service_spec.rb
delete_account_service_spec.rb Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
fan_out_on_write_service_spec.rb Refactor how public and tag timelines are queried (#14728) 2020-09-07 11:02:04 +02:00
favourite_service_spec.rb
fetch_link_card_service_spec.rb
fetch_oembed_service_spec.rb
fetch_remote_status_service_spec.rb
fetch_resource_service_spec.rb
follow_service_spec.rb
import_service_spec.rb Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
mute_service_spec.rb
notify_service_spec.rb Add option to be notified when a followed user posts (#13546) 2020-09-18 17:26:45 +02:00
post_status_service_spec.rb
precompute_feed_service_spec.rb
process_mentions_service_spec.rb
reblog_service_spec.rb
reject_follow_service_spec.rb
remove_status_service_spec.rb
report_service_spec.rb
resolve_account_service_spec.rb Fix webfinger redirect handling in ResolveAccountService (#15187) 2020-11-19 19:52:06 +01:00
resolve_url_service_spec.rb
search_service_spec.rb
unallow_domain_service_spec.rb Fix various warnings in rspec (#14729) 2020-09-04 20:22:26 +02:00
unblock_domain_service_spec.rb
unblock_service_spec.rb
unfollow_service_spec.rb
unmute_service_spec.rb
update_account_service_spec.rb
verify_link_service_spec.rb