From 5ce96b9b95c6b3497bfb49fd086a23a2dedb4e2e Mon Sep 17 00:00:00 2001 From: Hubzilla Date: Wed, 18 Jan 2017 19:36:06 -0800 Subject: more urlencoding of message-ids which are used in links --- include/activities.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/activities.php') 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]'; -- cgit v1.2.3