mastodon/app
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
..
chewy Change tootctl search deploy algorithm (#14300) 2020-07-14 18:10:35 +02:00
controllers Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
helpers Add interrelationship icon (#15149) 2020-11-12 17:43:12 +01:00
javascript Mark correctly as read reverse-order announcements (#15070) 2020-11-19 17:40:18 +01:00
lib Fix sending spurious Rejects when processing remote account deletion (#15104) 2020-11-19 17:39:47 +01:00
mailers Change account suspensions to be reversible by default (#14726) 2020-09-15 14:37:58 +02:00
models Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
policies Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
presenters Add user notes on accounts (#14148) 2020-06-30 19:19:50 +02:00
serializers Add support for reversible suspensions through ActivityPub (#14989) 2020-11-08 00:28:39 +01:00
services Fix webfinger redirect handling in ResolveAccountService (#15187) 2020-11-19 19:52:06 +01:00
validators Improve email address validation (#14565) 2020-08-12 12:40:25 +02:00
views Add import/export feature for bookmarks (#14956) 2020-11-19 17:48:13 +01:00
workers Fix sending spurious Rejects when processing remote account deletion (#15104) 2020-11-19 17:39:47 +01:00