diff options
author | Mario <mario@mariovavti.com> | 2025-06-23 09:02:08 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2025-06-23 09:02:08 +0000 |
commit | fcf42eeae0373fda3c27be824e9405ab747724a9 (patch) | |
tree | c00aae080928cb15a865dabc2d1f401b80ea9207 /Zotlabs/Module/Channel.php | |
parent | 721c0b1e5bc79aac8020a864f2c81bb468419c8a (diff) | |
download | volse-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.php | 2 |
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)); |