From fb4cbc73bae831e68fe8234811184f46077db5e6 Mon Sep 17 00:00:00 2001 From: winter Date: Mon, 20 Jan 2025 17:48:33 +0000 Subject: fix some xss situations --- templates/note.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'templates/note.php') diff --git a/templates/note.php b/templates/note.php index 98581c8..3e978b9 100644 --- a/templates/note.php +++ b/templates/note.php @@ -20,7 +20,8 @@ if ($user != null) {
- author->displayName ?> + author->displayName) ?> @author->getFullHandle() ?> inReplyTo->author->getFullHandle() ?>/note/inReplyTo->id ?>"> reply ' . $note->inReplyTo->author->displayName) . '' ?> + '' . htmlspecialchars($note->inReplyTo->author->displayName)) . '' ?>
-- cgit v1.3