diff options
author | ThibG <thib@sitedethib.com> | 2020-11-19 19:52:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-19 19:52:06 +0100 |
commit | 8b8004a9626442ae31e4dffd79e874e9cde050c6 (patch) | |
tree | 8fb0c4743e8d902505d19e1b54b494dada54775b /spec/services/precompute_feed_service_spec.rb | |
parent | 96c1e7132971877fba308c51cd42306f0b1bf166 (diff) |
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
Diffstat (limited to 'spec/services/precompute_feed_service_spec.rb')
0 files changed, 0 insertions, 0 deletions