FollowUp Acctlink move

This commit is contained in:
Philipp Holzer 2018-10-14 10:31:11 +02:00
parent fe9b283057
commit 753f61f633
No known key found for this signature in database
GPG key ID: 517BE60E2CE5C8A5

View file

@ -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);