Refactor ActivityPub::ProcessAccountService and ActivityPub::FetchRemoteActorService (#39783)

This commit is contained in:
Claire authored and GitHub committed 2026-07-10 14:16:46 +00:00
1 parent cf41960f64
commit ea3d8a82c2
7 files changed
+199 -124

No files matched your search

@@ -110,7 +110,7 @@ module SignatureVerification
end
rescue Mastodon::PrivateNetworkAddressError => e
raise Mastodon::SignatureVerificationError, "Requests to private network addresses are disallowed (tried to query #{e.host})"
rescue Mastodon::HostValidationError, ActivityPub::FetchRemoteActorService::Error, ActivityPub::FetchRemoteKeyService::Error, Webfinger::Error => e
rescue Mastodon::HostValidationError, ActivityPub::ProcessAccountService::Error, ActivityPub::FetchRemoteActorService::Error, ActivityPub::FetchRemoteKeyService::Error, Webfinger::Error => e
raise Mastodon::SignatureVerificationError, e.message
end