From 137f56f99498e5770c1b5ae218aa7dfe677f178a Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 19 Jun 2020 08:18:43 +0000 Subject: only redirect to known sites --- Zotlabs/Module/Chanview.php | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Chanview.php b/Zotlabs/Module/Chanview.php index 2e653d030..20ac41fbe 100644 --- a/Zotlabs/Module/Chanview.php +++ b/Zotlabs/Module/Chanview.php @@ -86,19 +86,8 @@ class Chanview extends \Zotlabs\Web\Controller { } if(! \App::$poi) { - - // We don't know who this is, and we can't figure it out from the URL - // On the plus side, there's a good chance we know somebody else at that - // hub so sending them there with a Zid will probably work anyway. - - $url = ($_REQUEST['url']); - if(! $url) { - notice( t('Channel not found.') . EOL); - return; - } - if($observer) - $url = zid($url); - + notice( t('Channel not found.') . EOL); + return; } $is_zot = false; -- cgit v1.2.3