diff options
author | redmatrix <mike@macgirvin.com> | 2016-09-17 14:51:57 -0700 |
---|---|---|
committer | redmatrix <mike@macgirvin.com> | 2016-09-17 14:51:57 -0700 |
commit | 0754da58da96316a9ff4505f9c7c712c1f0094b6 (patch) | |
tree | 4547950121b0ade42878ce9a4d5b7cb5430bf02d /Zotlabs/Module/Xrd.php | |
parent | 31df7af61f449d2fe307b3440c7dd7bf4b016cf0 (diff) | |
download | volse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.tar.gz volse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.tar.bz2 volse-hubzilla-0754da58da96316a9ff4505f9c7c712c1f0094b6.zip |
some changes merged from wrong branch... new function channel_reddress() instead of hardwired generation and which fixes case-sensitivity; allow dot notation in config and pconfig utils, updated string file
Diffstat (limited to 'Zotlabs/Module/Xrd.php')
-rw-r--r-- | Zotlabs/Module/Xrd.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Xrd.php b/Zotlabs/Module/Xrd.php index d71fae695..3ed19962b 100644 --- a/Zotlabs/Module/Xrd.php +++ b/Zotlabs/Module/Xrd.php @@ -43,7 +43,7 @@ class Xrd extends \Zotlabs\Web\Controller { header("Content-type: application/xrd+xml"); - $aliases = array('acct:' . $r[0]['channel_address'] . '@' . \App::get_hostname(), z_root() . '/channel/' . $r[0]['channel_address'], z_root() . '/~' . $r[0]['channel_address']); + $aliases = array('acct:' . channel_reddress($r[0]), z_root() . '/channel/' . $r[0]['channel_address'], z_root() . '/~' . $r[0]['channel_address']); for($x = 0; $x < count($aliases); $x ++) { if($aliases[$x] === $resource) |