diff options
author | zotlabs <mike@macgirvin.com> | 2018-05-05 00:39:53 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-05-05 00:39:53 -0700 |
commit | c6e65ec6dab38ee67afe1d07f5c003413cfdf67e (patch) | |
tree | b15b01cd372dd9a25c70032d21fae971b341f661 | |
parent | 367937e479a40647a69dd2c3eb8d9b3c0122ef1c (diff) | |
download | volse-hubzilla-c6e65ec6dab38ee67afe1d07f5c003413cfdf67e.tar.gz volse-hubzilla-c6e65ec6dab38ee67afe1d07f5c003413cfdf67e.tar.bz2 volse-hubzilla-c6e65ec6dab38ee67afe1d07f5c003413cfdf67e.zip |
support '@' paths
-rw-r--r-- | Zotlabs/Module/Wfinger.php | 3 | ||||
-rwxr-xr-x | boot.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php index 81d4beaed..88cb3e879 100644 --- a/Zotlabs/Module/Wfinger.php +++ b/Zotlabs/Module/Wfinger.php @@ -109,7 +109,8 @@ class Wfinger extends \Zotlabs\Web\Controller { $aliases = array( z_root() . (($pchan) ? '/pchan/' : '/channel/') . $r[0]['channel_address'], - z_root() . '/~' . $r[0]['channel_address'] + z_root() . '/~' . $r[0]['channel_address'], + z_root() . '/@' . $r[0]['channel_address'] ); if($h) { @@ -886,7 +886,7 @@ class App { // unix style "homedir" - if(substr(self::$cmd, 0, 1) === '~') + if((substr(self::$cmd, 0, 1) === '~') || (substr(self::$cmd, 0, 1) === '@')) self::$cmd = 'channel/' . substr(self::$cmd, 1); /* |