diff options
author | Mario <mario@mariovavti.com> | 2025-06-23 08:59:27 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-06-23 08:59:27 +0000 |
commit | 721c0b1e5bc79aac8020a864f2c81bb468419c8a (patch) | |
tree | 06fc44b19bb214d21c2438d4a5ab41f5bbb762fd /Zotlabs/Module/Channel.php | |
parent | 82b2f06bdd28264494ef0088202004af06cf7890 (diff) | |
download | volse-hubzilla-721c0b1e5bc79aac8020a864f2c81bb468419c8a.tar.gz volse-hubzilla-721c0b1e5bc79aac8020a864f2c81bb468419c8a.tar.bz2 volse-hubzilla-721c0b1e5bc79aac8020a864f2c81bb468419c8a.zip |
rfc9421 verify: parse more fields if applicable
Diffstat (limited to 'Zotlabs/Module/Channel.php')
-rw-r--r-- | Zotlabs/Module/Channel.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Channel.php b/Zotlabs/Module/Channel.php index f73f25d5f..e35a611d0 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), - '(request-target)' => strtolower($_SERVER['REQUEST_METHOD']) . ' ' . $_SERVER['REQUEST_URI'] + 'Date' => datetime_convert('UTC','UTC', 'now', 'D, d M Y H:i:s \\G\\M\\T') ]; $h = HTTPSig::create_sig($headers, $channel['channel_prvkey'], channel_url($channel)); |