Fix the following of accounts with "?" in the URL

This commit is contained in:
Michael 2024-10-16 03:00:20 +00:00
parent c4aaff181c
commit 93536f31e8
7 changed files with 27 additions and 13 deletions

View file

@ -78,7 +78,7 @@ class VCard
if (in_array($rel, [Contact::SHARING, Contact::FRIEND])) {
$unfollow_link = 'contact/unfollow?url=' . urlencode($contact_url) . '&auto=1';
} elseif (!$pending) {
$follow_link = 'contact/follow?url=' . urlencode($contact_url) . '&auto=1';
$follow_link = 'contact/follow?binurl=' . bin2hex($contact_url) . '&auto=1';
}
}