webfinger queries are prefixed with acct:
This commit is contained in:
parent
04817690e8
commit
ad253e48e8
1 changed files with 1 additions and 1 deletions
|
@ -981,7 +981,7 @@ sub webfinger {
|
|||
my $root_url = $self->base_url_for('/')->to_abs->host;
|
||||
|
||||
if ( not $root_url
|
||||
or not $resource =~ m{ ^ (?<name> [^@]+ ) [@] $root_url $ }x )
|
||||
or not $resource =~ m{ ^ acct: (?<name> [^@]+ ) [@] $root_url $ }x )
|
||||
{
|
||||
$self->render( 'not_found', status => 404 );
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue