From fcf42eeae0373fda3c27be824e9405ab747724a9 Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 23 Jun 2025 09:02:08 +0000 Subject: Revert "rfc9421 verify: parse more fields if applicable" This reverts commit 721c0b1e5bc79aac8020a864f2c81bb468419c8a. --- Zotlabs/Module/Channel.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs/Module/Channel.php') diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index e35a611d0..f73f25d5f 100644 --- a/Zotlabs/Module/Channel.php +++ b/Zotlabs/Module/Channel.php @@ -85,7 +85,7 @@ class Channel extends Controller { $headers = [ 'Content-Type' => 'application/x-zot+json', 'Digest' => HTTPSig::generate_digest_header($data), - 'Date' => datetime_convert('UTC','UTC', 'now', 'D, d M Y H:i:s \\G\\M\\T') + '(request-target)' => strtolower($_SERVER['REQUEST_METHOD']) . ' ' . $_SERVER['REQUEST_URI'] ]; $h = HTTPSig::create_sig($headers, $channel['channel_prvkey'], channel_url($channel)); -- cgit v1.2.3