aboutsummaryrefslogtreecommitdiffstats
path: root/include/items.php
diff options
context:
space:
mode:
authorHubzilla <hubzilla@hz.macgirvin.com>2017-01-18 19:36:06 -0800
committerHubzilla <hubzilla@hz.macgirvin.com>2017-01-18 19:36:06 -0800
commit5ce96b9b95c6b3497bfb49fd086a23a2dedb4e2e (patch)
treeed45f9a245ff945c1618ec4bfd13f4a93c25cf97 /include/items.php
parent7dfadfea4a637ce5566eb45f2d1adedf04bd04f3 (diff)
downloadvolse-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 'include/items.php')
-rwxr-xr-xinclude/items.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/items.php b/include/items.php
index da49df397..88aa098b4 100755
--- a/include/items.php
+++ b/include/items.php
@@ -367,7 +367,7 @@ function post_activity_item($arr,$allow_code = false,$deliver = true) {
$arr['comment_policy'] = map_scope(\Zotlabs\Access\PermissionLimits::Get($channel['channel_id'],'post_comments'));
if ((! $arr['plink']) && (intval($arr['item_thread_top']))) {
- $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']);
}