mirror of
https://github.com/friendica/friendica
synced 2024-11-18 21:43:40 +00:00
Merge pull request #5910 from nupplaphil/acctlink_followup
FollowUp Acctlink move
This commit is contained in:
commit
6606c9cbb2
1 changed files with 2 additions and 2 deletions
|
@ -12,10 +12,10 @@ class Acctlink extends BaseModule
|
|||
{
|
||||
public static function content()
|
||||
{
|
||||
$addr = defaults($_REQUEST, 'addr', false);
|
||||
$addr = defaults($_GET, 'addr', false);
|
||||
|
||||
if ($addr) {
|
||||
$url = defaults(Probe::uri($addr), 'url', false);
|
||||
$url = defaults(Probe::uri(trim($addr)), 'url', false);
|
||||
|
||||
if ($url) {
|
||||
goaway($url);
|
||||
|
|
Loading…
Reference in a new issue