From c5fb8eafac8d8012f9bc09ef030ebffedf4ce096 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 12 Mar 2025 19:15:28 +0000 Subject: allow to send signed requests from mod zot_probe --- Zotlabs/Module/Zot_probe.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Zotlabs/Module') diff --git a/Zotlabs/Module/Zot_probe.php b/Zotlabs/Module/Zot_probe.php index 3eaabdd92..cf8355ce6 100644 --- a/Zotlabs/Module/Zot_probe.php +++ b/Zotlabs/Module/Zot_probe.php @@ -15,13 +15,19 @@ class Zot_probe extends \Zotlabs\Web\Controller { $o .= '
'; $o .= 'Lookup URI:
'; + $o .= ' Sign request
'; $o .= '
'; $o .= '

'; if($addr) { - $x = Zotfinger::exec($addr); + $channel = null; + if ($_GET['sign']) { + $channel = get_sys_channel(); + } + + $x = Zotfinger::exec($addr, $channel); $o .= '
' . htmlspecialchars(print_array($x)) . '
'; -- cgit v1.2.3