mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Fix the following of accounts with "?" in the URL
This commit is contained in:
parent
c4aaff181c
commit
93536f31e8
7 changed files with 27 additions and 13 deletions
|
@ -1225,7 +1225,7 @@ class Contact
|
|||
if ($contact['uid'] && in_array($contact['rel'], [self::SHARING, self::FRIEND])) {
|
||||
$unfollow_link = 'contact/unfollow?url=' . urlencode($contact['url']) . '&auto=1';
|
||||
} elseif (!$contact['pending']) {
|
||||
$follow_link = 'contact/follow?url=' . urlencode($contact['url']) . '&auto=1';
|
||||
$follow_link = 'contact/follow?binurl=' . bin2hex($contact['url']) . '&auto=1';
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue