forked from mirror/pixelfed
Update FederationController
This commit is contained in:
parent
fedcdb204d
commit
eaaf8fbcd7
|
@ -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 New Issue