strip acct: from OWA auth to API endpoints

This commit is contained in:
zotlabs
2017-12-07 18:56:26 -08:00
parent e9ae51cfbc
commit 85b7c90637
3 changed files with 4 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ class Cdav extends \Zotlabs\Web\Controller {
$sigblock = \Zotlabs\Web\HTTPSig::parse_sigheader($_SERVER[$head]);
if($sigblock) {
$keyId = $sigblock['keyId'];
$keyId = str_replace('acct:','',$sigblock['keyId']);
if($keyId) {
$r = q("select * from hubloc where hubloc_addr = '%s' limit 1",
dbesc($keyId)