From d55275f211f5e03f7dc60e2c460aa9d3d34f44d9 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sat, 11 Jul 2015 14:37:02 +0200 Subject: [PATCH] GUID should be urlencoded in template since it is urlencoded in uri as well. --- include/diaspora.php | 6 ++++++ object/Item.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/include/diaspora.php b/include/diaspora.php index b70cffdc39..86a55f473f 100755 --- a/include/diaspora.php +++ b/include/diaspora.php @@ -1,5 +1,11 @@ $body_e, 'text' => $text_e, 'id' => $this->get_id(), - 'guid' => $item['guid'], + 'guid' => urlencode($item['guid']), 'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, ((strlen($item['author-link'])) ? $item['author-link'] : $item['url'])), 'olinktitle' => sprintf( t('View %s\'s profile @ %s'), $this->get_owner_name(), ((strlen($item['owner-link'])) ? $item['owner-link'] : $item['url'])), 'to' => t('to'), -- 2.39.2