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/ThreadItem.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/ThreadItem.php')
-rw-r--r-- | Zotlabs/Lib/ThreadItem.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index e636e5614..69a1216c7 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -295,7 +295,7 @@ class ThreadItem { $owner_address = substr($item['owner']['xchan_addr'],0,strpos($item['owner']['xchan_addr'],'@')); $viewthread = $item['llink']; if($conv->get_mode() === 'channel') - $viewthread = z_root() . '/channel/' . $owner_address . '?f=&mid=' . $item['mid']; + $viewthread = z_root() . '/channel/' . $owner_address . '?f=&mid=' . urlencode($item['mid']); $comment_count_txt = sprintf( tt('%d comment','%d comments',$total_children),$total_children ); $list_unseen_txt = (($unseen_comments) ? sprintf('%d unseen',$unseen_comments) : ''); |