aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Channel.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2025-06-23 09:02:08 +0000
committerMario <mario@mariovavti.com>2025-06-23 09:02:08 +0000
commitfcf42eeae0373fda3c27be824e9405ab747724a9 (patch)
treec00aae080928cb15a865dabc2d1f401b80ea9207 /Zotlabs/Module/Channel.php
parent721c0b1e5bc79aac8020a864f2c81bb468419c8a (diff)
downloadvolse-hubzilla-fcf42eeae0373fda3c27be824e9405ab747724a9.tar.gz
volse-hubzilla-fcf42eeae0373fda3c27be824e9405ab747724a9.tar.bz2
volse-hubzilla-fcf42eeae0373fda3c27be824e9405ab747724a9.zip
Revert "rfc9421 verify: parse more fields if applicable"
This reverts commit 721c0b1e5bc79aac8020a864f2c81bb468419c8a.
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r--Zotlabs/Module/Channel.php2
1 files changed, 1 insertions, 1 deletions
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));