mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update FederationController
This commit is contained in:
parent
fedcdb204d
commit
eaaf8fbcd7
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ XML;
|
|||
&& is_array($bodyDecoded['object'])
|
||||
&& isset($bodyDecoded['object']['attributedTo'])
|
||||
) {
|
||||
if(parse_url($bodyDecoded['object']['attributedTo'], PHP_URL_HOST) !== $idDomain) {
|
||||
if(parse_url($bodyDecoded['object']['attributedTo'], PHP_URL_HOST) !== $keyDomain) {
|
||||
abort(400, 'Invalid request');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue