aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2018-05-05 00:39:53 -0700
committerzotlabs <mike@macgirvin.com>2018-05-05 00:39:53 -0700
commitc6e65ec6dab38ee67afe1d07f5c003413cfdf67e (patch)
treeb15b01cd372dd9a25c70032d21fae971b341f661
parent367937e479a40647a69dd2c3eb8d9b3c0122ef1c (diff)
downloadvolse-hubzilla-c6e65ec6dab38ee67afe1d07f5c003413cfdf67e.tar.gz
volse-hubzilla-c6e65ec6dab38ee67afe1d07f5c003413cfdf67e.tar.bz2
volse-hubzilla-c6e65ec6dab38ee67afe1d07f5c003413cfdf67e.zip
support '@' paths
-rw-r--r--Zotlabs/Module/Wfinger.php3
-rwxr-xr-xboot.php2
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) {
diff --git a/boot.php b/boot.php
index 5cf6cedeb..40b38985b 100755
--- a/boot.php
+++ b/boot.php
@@ -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);
/*