aboutsummaryrefslogtreecommitdiffstats
path: root/include/activities.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/activities.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/activities.php')
-rw-r--r--include/activities.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/activities.php b/include/activities.php
index 3271db993..2671e668c 100644
--- a/include/activities.php
+++ b/include/activities.php
@@ -27,7 +27,7 @@ function profile_activity($changed, $value) {
$arr['verb'] = ACTIVITY_UPDATE;
$arr['obj_type'] = ACTIVITY_OBJ_PROFILE;
- $arr['plink'] = z_root() . '/channel/' . $self['channel_address'] . '/?f=&mid=' . $arr['mid'];
+ $arr['plink'] = z_root() . '/channel/' . $self['channel_address'] . '/?f=&mid=' . urlencode($arr['mid']);
$A = '[url=' . z_root() . '/channel/' . $self['channel_address'] . ']' . $self['channel_name'] . '[/url]';