support '@' paths
This commit is contained in:
parent
367937e479
commit
c6e65ec6da
@ -109,7 +109,8 @@ class Wfinger extends \Zotlabs\Web\Controller {
|
|||||||
|
|
||||||
$aliases = array(
|
$aliases = array(
|
||||||
z_root() . (($pchan) ? '/pchan/' : '/channel/') . $r[0]['channel_address'],
|
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) {
|
if($h) {
|
||||||
|
2
boot.php
2
boot.php
@ -886,7 +886,7 @@ class App {
|
|||||||
|
|
||||||
// unix style "homedir"
|
// 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);
|
self::$cmd = 'channel/' . substr(self::$cmd, 1);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user