|
@@ -193,7 +193,7 @@ class InboxValidator implements ShouldQueue
|
|
}
|
|
}
|
|
|
|
|
|
try {
|
|
try {
|
|
- $res = Http::timeout(20)->withHeaders([
|
|
|
|
|
|
+ $res = Http::withOptions(['allow_redirects' => false])->timeout(20)->withHeaders([
|
|
'Accept' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
|
'Accept' => 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
|
|
'User-Agent' => 'PixelfedBot v0.1 - https://pixelfed.org',
|
|
'User-Agent' => 'PixelfedBot v0.1 - https://pixelfed.org',
|
|
])->get($actor->remote_url);
|
|
])->get($actor->remote_url);
|