diff options
author | Mario <mario@mariovavti.com> | 2024-03-21 20:48:10 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-03-21 20:48:10 +0000 |
commit | 5e5a0d7c9163131d3ce6551fdb91eb991518052f (patch) | |
tree | 6375e081f6a3eb8580fc619a69ef0452957e52b6 /Zotlabs/Module | |
parent | 371b8440c3a57103bfdfe15373b025ee1f4a73d3 (diff) | |
download | volse-hubzilla-5e5a0d7c9163131d3ce6551fdb91eb991518052f.tar.gz volse-hubzilla-5e5a0d7c9163131d3ce6551fdb91eb991518052f.tar.bz2 volse-hubzilla-5e5a0d7c9163131d3ce6551fdb91eb991518052f.zip |
remove friendica specific hack that is not needed anymore
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Owa.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Zotlabs/Module/Owa.php b/Zotlabs/Module/Owa.php index e41435ecd..85467d4f4 100644 --- a/Zotlabs/Module/Owa.php +++ b/Zotlabs/Module/Owa.php @@ -63,10 +63,6 @@ class Owa extends Controller { if ($r) { foreach ($r as $hubloc) { - // fix friendica accept header for nginx - if (str_starts_with($keyId, 'acct:') && $_SERVER['HTTP_ACCEPT'] === 'application/x-zot+json') - $_SERVER['HTTP_ACCEPT'] = 'application/x-dfrn+json, application/x-zot+json'; - $verified = HTTPSig::verify(file_get_contents('php://input'), $hubloc['xchan_pubkey']); if ($verified && $verified['header_signed'] && $verified['header_valid'] && ($verified['content_valid'] || (! $verified['content_signed']))) { logger('OWA header: ' . print_r($verified,true),LOGGER_DATA); |