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
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
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