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() public static function content()
{ {
$addr = defaults($_REQUEST, 'addr', false); $addr = defaults($_GET, 'addr', false);
if ($addr) { if ($addr) {
$url = defaults(Probe::uri($addr), 'url', false); $url = defaults(Probe::uri(trim($addr)), 'url', false);
if ($url) { if ($url) {
goaway($url); goaway($url);