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

@ -477,7 +477,7 @@ class Profile extends BaseModule
} else {
$contact_actions['follow'] = [
'label' => $this->t('Follow'),
'url' => 'contact/follow?url=' . urlencode($contact['url']) . '&auto=1',
'url' => 'contact/follow?binurl=' . bin2hex($contact['url']) . '&auto=1',
'title' => '',
'sel' => '',
'id' => 'follow',