From 70c9b173145a9f3cb74f681afcc4dee9e1a2314d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Jun 2009 11:40:29 +0400 Subject: [PATCH] feedlist: htmlspecialchars() feed title --- functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions.php b/functions.php index 8f6ae890..c89f11a1 100644 --- a/functions.php +++ b/functions.php @@ -4261,7 +4261,7 @@ while ($line = db_fetch_assoc($result)) { - $feed = trim($line["title"]); + $feed = htmlspecialchars(trim($line["title"])); if (!$feed) $feed = "[Untitled]"; -- 2.39.2