]> git.mxchange.org Git - friendica.git/commitdiff
Added link encoding
authorMichael <heluecht@pirati.ca>
Wed, 9 Sep 2020 14:37:58 +0000 (14:37 +0000)
committerMichael <heluecht@pirati.ca>
Wed, 9 Sep 2020 14:37:58 +0000 (14:37 +0000)
include/conversation.php

index 99f3d76b0b13e9447487390274cc14e16bae5467..1d374c5ca903406a08ee70089413e55c65b8c7db 100644 (file)
@@ -730,7 +730,7 @@ function conversation_fetch_comments($thread_items, $pinned) {
 
                        $author = ['uid' => 0, 'id' => $row['author-id'],
                                'network' => $row['author-network'], 'url' => $row['author-link']];
-                       $url = '<a href="'. Contact::magicLinkByContact($author) .'">' . htmlentities($row['author-name']) . '</a>';
+                       $url = '<a href="'. htmlentities(Contact::magicLinkByContact($author)) .'">' . htmlentities($row['author-name']) . '</a>';
 
                        $actor = ['url' => $url, 'link' => $row['author-link'], 'avatar' => $row['author-avatar'], 'name' => $row['author-name']];
                        $received = $row['received'];