From: Michael Vogel Date: Sat, 11 Jul 2015 12:37:02 +0000 (+0200) Subject: GUID should be urlencoded in template since it is urlencoded in uri as well. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d55275f211f5e03f7dc60e2c460aa9d3d34f44d9;p=friendica.git GUID should be urlencoded in template since it is urlencoded in uri as well. --- 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'),