aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2024-03-21 20:48:33 +0000
committerMario <mario@mariovavti.com>2024-03-21 20:48:33 +0000
commit192ab22cda3fff1feb1de743ff6f50294e41bccc (patch)
treeec5ae8b4efccf81d9c29759bce323119555acf6c
parent2dc1adf0910dfb96f660374c683f3c84d0250c7a (diff)
parent5e5a0d7c9163131d3ce6551fdb91eb991518052f (diff)
downloadvolse-hubzilla-192ab22cda3fff1feb1de743ff6f50294e41bccc.tar.gz
volse-hubzilla-192ab22cda3fff1feb1de743ff6f50294e41bccc.tar.bz2
volse-hubzilla-192ab22cda3fff1feb1de743ff6f50294e41bccc.zip
Merge branch 'dev' into 9.0RC
-rw-r--r--Zotlabs/Module/Owa.php4
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);