diff options
author | Hubzilla <hubzilla@hz.macgirvin.com> | 2017-01-18 19:36:06 -0800 |
---|---|---|
committer | Hubzilla <hubzilla@hz.macgirvin.com> | 2017-01-18 19:36:06 -0800 |
commit | 5ce96b9b95c6b3497bfb49fd086a23a2dedb4e2e (patch) | |
tree | ed45f9a245ff945c1618ec4bfd13f4a93c25cf97 /Zotlabs/Lib/NativeWiki.php | |
parent | 7dfadfea4a637ce5566eb45f2d1adedf04bd04f3 (diff) | |
download | volse-hubzilla-5ce96b9b95c6b3497bfb49fd086a23a2dedb4e2e.tar.gz volse-hubzilla-5ce96b9b95c6b3497bfb49fd086a23a2dedb4e2e.tar.bz2 volse-hubzilla-5ce96b9b95c6b3497bfb49fd086a23a2dedb4e2e.zip |
more urlencoding of message-ids which are used in links
Diffstat (limited to 'Zotlabs/Lib/NativeWiki.php')
-rw-r--r-- | Zotlabs/Lib/NativeWiki.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/NativeWiki.php b/Zotlabs/Lib/NativeWiki.php index 87aba363c..8932040b0 100644 --- a/Zotlabs/Lib/NativeWiki.php +++ b/Zotlabs/Lib/NativeWiki.php @@ -61,7 +61,7 @@ class NativeWiki { $arr['resource_id'] = $resource_id; $arr['owner_xchan'] = $channel['channel_hash']; $arr['author_xchan'] = $observer_hash; - $arr['plink'] = z_root() . '/channel/' . $channel['channel_address'] . '/?f=&mid=' . $arr['mid']; + $arr['plink'] = z_root() . '/channel/' . $channel['channel_address'] . '/?f=&mid=' . urlencode($arr['mid']); $arr['llink'] = $arr['plink']; $arr['title'] = $wiki['htmlName']; // name of new wiki; $arr['allow_cid'] = $ac['allow_cid']; |