1
1
Fork 0

Merge pull request #5910 from nupplaphil/acctlink_followup

FollowUp Acctlink move
This commit is contained in:
Hypolite Petovan 2018-10-14 06:27:02 -04:00 committed by GitHub
commit 6606c9cbb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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