diff options
author | Mario <mario@mariovavti.com> | 2022-04-01 09:50:12 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-04-01 11:56:07 +0200 |
commit | e7768ae9542e2274fe7fba61d315c32121589338 (patch) | |
tree | 84e635b8522bd815b92c8ca7d941971fb6fe5d1a /Zotlabs/Module | |
parent | 0784cd593a39a4fc297e8a82f7e79bc8019a0868 (diff) | |
download | volse-hubzilla-e7768ae9542e2274fe7fba61d315c32121589338.tar.gz volse-hubzilla-e7768ae9542e2274fe7fba61d315c32121589338.tar.bz2 volse-hubzilla-e7768ae9542e2274fe7fba61d315c32121589338.zip |
fixes in regard to hub re-installs: dismiss deleted hublocs, make sure we use the latest hubloc entry for addressing, in Queue::deliver() prefer primaries since their info is probably more accurate
(cherry picked from commit 38d977e54612e0cfbe69aae47c656f1cada037c6)
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Zot_probe.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/Zotlabs/Module/Zot_probe.php b/Zotlabs/Module/Zot_probe.php index 7585affdf..bdd9506eb 100644 --- a/Zotlabs/Module/Zot_probe.php +++ b/Zotlabs/Module/Zot_probe.php @@ -8,21 +8,21 @@ use Zotlabs\Web\HTTPSig; class Zot_probe extends \Zotlabs\Web\Controller { function get() { - + $o .= '<h3>Zot6 Probe Diagnostic</h3>'; - + $o .= '<form action="zot_probe" method="get">'; $o .= 'Lookup URI: <input type="text" style="width: 250px;" name="addr" value="' . $_GET['addr'] .'" /><br>'; - $o .= '<input type="submit" name="submit" value="Submit" /></form>'; - + $o .= '<input type="submit" name="submit" value="Submit" /></form>'; + $o .= '<br /><br />'; - + if(x($_GET,'addr')) { $addr = $_GET['addr']; $x = Zotfinger::exec($addr); - + $o .= '<pre>' . htmlspecialchars(print_array($x)) . '</pre>'; $headers = 'Accept: application/x-zot+json, application/jrd+json, application/json'; @@ -38,10 +38,10 @@ class Zot_probe extends \Zotlabs\Web\Controller { $o .= '<pre>' . htmlspecialchars(json_encode(json_decode($x['body']),JSON_PRETTY_PRINT|JSON_UNESCAPED_SLASHES)) . '</pre>' . EOL; - } + } } return $o; } - + } |