aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wfinger.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-12-03 20:09:57 -0800
committerzotlabs <mike@macgirvin.com>2018-12-03 20:09:57 -0800
commit42aeb19562b9e72436a72e090772da669e34fd66 (patch)
treebd093718181c69fbb6f6f383c36548b60b23c262 /Zotlabs/Module/Wfinger.php
parentffc3dba6825933d8e3ddc1a9a1ee93785acb2fca (diff)
downloadvolse-hubzilla-42aeb19562b9e72436a72e090772da669e34fd66.tar.gz
volse-hubzilla-42aeb19562b9e72436a72e090772da669e34fd66.tar.bz2
volse-hubzilla-42aeb19562b9e72436a72e090772da669e34fd66.zip
partial solution for obj|tgt multiple (zot and zot6) encodings; the zot6 version will be stored under $item['obj']['asld']
Diffstat (limited to 'Zotlabs/Module/Wfinger.php')
-rw-r--r--Zotlabs/Module/Wfinger.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php
index e4591df12..03275abbc 100644
--- a/Zotlabs/Module/Wfinger.php
+++ b/Zotlabs/Module/Wfinger.php
@@ -43,6 +43,9 @@ class Wfinger extends \Zotlabs\Web\Controller {
if(strpos($resource,'acct:') === 0) {
$channel = str_replace('acct:','',$resource);
+ if(substr($channel,0,1) === '@' && strpos(substr($channel,1),'@')) {
+ $channel = substr($channel,1);
+ }
if(strpos($channel,'@') !== false) {
$host = substr($channel,strpos($channel,'@')+1);