Skip to content

Commit

Permalink
Fix: #4868 - add rel=nofollow to contact links
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Aug 18, 2023
1 parent 997a274 commit 310c0e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Services/UserService.php
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,6 @@ public function contactLink(User $contact_user, ServerRequestInterface $request)
]);
}

return '<a href="' . e($url) . '" dir="auto">' . e($contact_user->realName()) . '</a>';
return '<a href="' . e($url) . '" dir="auto" rel="nofollow">' . e($contact_user->realName()) . '</a>';
}
}

0 comments on commit 310c0e4

Please sign in to comment.