summaryrefslogtreecommitdiff
path: root/lib/Travelynx/Controller/Account.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Travelynx/Controller/Account.pm')
-rw-r--r--lib/Travelynx/Controller/Account.pm2
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;