aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-06-19 08:18:43 +0000
committerMario <mario@mariovavti.com>2020-06-19 08:18:43 +0000
commit137f56f99498e5770c1b5ae218aa7dfe677f178a (patch)
tree696bbdd610f170d45cc79058842cfc26d88a24e8
parente2cbcf7039c8ca1e4a1f318bdc257c3546b2d74b (diff)
downloadvolse-hubzilla-137f56f99498e5770c1b5ae218aa7dfe677f178a.tar.gz
volse-hubzilla-137f56f99498e5770c1b5ae218aa7dfe677f178a.tar.bz2
volse-hubzilla-137f56f99498e5770c1b5ae218aa7dfe677f178a.zip
only redirect to known sites
-rw-r--r--Zotlabs/Module/Chanview.php15
1 files changed, 2 insertions, 13 deletions
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;