aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-04-26 22:16:23 +0200
committerMario Vavti <mario@mariovavti.com>2017-04-26 22:16:23 +0200
commit1c304eb8ba5395e62c0245133d58a3f00adaeaac (patch)
tree4304e0d428df9275bd5ed350075ccd05438b5805
parentd1c84ad9f0884bb49c7840ac59f5756b16cb7aef (diff)
downloadvolse-hubzilla-1c304eb8ba5395e62c0245133d58a3f00adaeaac.tar.gz
volse-hubzilla-1c304eb8ba5395e62c0245133d58a3f00adaeaac.tar.bz2
volse-hubzilla-1c304eb8ba5395e62c0245133d58a3f00adaeaac.zip
make mastodon happy args
-rw-r--r--Zotlabs/Module/Wfinger.php2
-rw-r--r--Zotlabs/Module/Xrd.php2
-rw-r--r--include/text.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Module/Wfinger.php b/Zotlabs/Module/Wfinger.php
index 3fdff691b..118ec5e7c 100644
--- a/Zotlabs/Module/Wfinger.php
+++ b/Zotlabs/Module/Wfinger.php
@@ -107,7 +107,7 @@ class Wfinger extends \Zotlabs\Web\Controller {
[
'rel' => 'http://schemas.google.com/g/2010#updates-from',
'type' => 'application/atom+xml',
- 'href' => z_root() . '/feed/' . $r[0]['channel_address'] . '?f=&compat=1'
+ 'href' => z_root() . '/feed/' . $r[0]['channel_address'] . '/?compat=1'
],
[
diff --git a/Zotlabs/Module/Xrd.php b/Zotlabs/Module/Xrd.php
index ba650be55..7fd81e490 100644
--- a/Zotlabs/Module/Xrd.php
+++ b/Zotlabs/Module/Xrd.php
@@ -57,7 +57,7 @@ class Xrd extends \Zotlabs\Web\Controller {
'$aliases' => $aliases,
'$profile_url' => z_root() . '/channel/' . $r[0]['channel_address'],
'$hcard_url' => z_root() . '/hcard/' . $r[0]['channel_address'],
- '$atom' => z_root() . '/feed/' . $r[0]['channel_address'] . '?f=&compat=1',
+ '$atom' => z_root() . '/feed/' . $r[0]['channel_address'] . '/?compat=1',
'$zot_post' => z_root() . '/post/' . $r[0]['channel_address'],
'$poco_url' => z_root() . '/poco/' . $r[0]['channel_address'],
'$photo' => z_root() . '/photo/profile/l/' . $r[0]['channel_id'],
diff --git a/include/text.php b/include/text.php
index 24c2896ad..46509aabf 100644
--- a/include/text.php
+++ b/include/text.php
@@ -3140,4 +3140,4 @@ function ellipsify($s,$maxlen) {
return $s;
return mb_substr($s,0,$maxlen / 2) . '...' . mb_substr($s,mb_strlen($s) - ($maxlen / 2));
-} \ No newline at end of file
+}