mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 21:35:13 +00:00
support '@' paths
This commit is contained in:
parent
367937e479
commit
c6e65ec6da
2 changed files with 3 additions and 2 deletions
|
@ -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) {
|
||||
|
|
2
boot.php
2
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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue