diff options
author | Daniel Friesel <derf@finalrewind.org> | 2023-01-08 10:01:51 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2023-01-08 10:01:51 +0100 |
commit | ad253e48e811819df06b43c1c65969d9e52ec814 (patch) | |
tree | 20441964441b1e4de5c46a999faaa9c84f430d7a /lib | |
parent | 04817690e8933bb70dfd3f11dede398ed8b14925 (diff) |
webfinger queries are prefixed with acct:1.29.9
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Travelynx/Controller/Account.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Travelynx/Controller/Account.pm b/lib/Travelynx/Controller/Account.pm index b062f90..d1d2a1f 100644 --- a/lib/Travelynx/Controller/Account.pm +++ b/lib/Travelynx/Controller/Account.pm @@ -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; |