[backend/federation] Correctly support redirection of activity URIs
This was already implemented, but we forgot to disable auto-redirects, so the custom redirect code was never used.
This commit is contained in:
parent
d56eda8464
commit
878c9d657c
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ public class ActivityFetcherService(
|
|||
return (null, new Uri(url));
|
||||
}
|
||||
|
||||
var request = httpRqSvc.GetSigned(url, AcceptableActivityTypes, actor, keypair);
|
||||
var request = httpRqSvc.GetSigned(url, AcceptableActivityTypes, actor, keypair).DisableAutoRedirects();
|
||||
var response = await client.SendAsync(request);
|
||||
|
||||
if (IsRedirect(response))
|
||||
|
|
Loading…
Add table
Reference in a new issue