aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorHubzilla <hubzilla@hz.macgirvin.com>2017-01-18 18:45:17 -0800
committerHubzilla <hubzilla@hz.macgirvin.com>2017-01-18 18:45:17 -0800
commit7dfadfea4a637ce5566eb45f2d1adedf04bd04f3 (patch)
tree2aa74ac5740a103cb9101dffc392a22ef0939b69 /include/conversation.php
parentd4e58e94f6777f0a7ab5733d889f29bdb9366b14 (diff)
downloadvolse-hubzilla-7dfadfea4a637ce5566eb45f2d1adedf04bd04f3.tar.gz
volse-hubzilla-7dfadfea4a637ce5566eb45f2d1adedf04bd04f3.tar.bz2
volse-hubzilla-7dfadfea4a637ce5566eb45f2d1adedf04bd04f3.zip
urlencode the message-id component of generated /display/ links; in most cases this will be a no-op, unless the message-id is a url of some kind from a different provider.
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 0ff368e6e..94cd9168e 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -733,7 +733,7 @@ function conversation(&$a, $items, $mode, $update, $page_mode = 'traditional', $
'like' => '',
'dislike' => '',
'comment' => '',
- 'conv' => (($preview) ? '' : array('href'=> z_root() . '/display/' . $item['mid'], 'title'=> t('View in context'))),
+ 'conv' => (($preview) ? '' : array('href'=> z_root() . '/display/' . urlencode($item['mid']), 'title'=> t('View in context'))),
'previewing' => $previewing,
'wait' => t('Please wait'),
'thread_level' => 1,