From: Andrew Dolgov Date: Fri, 12 Jun 2009 07:40:29 +0000 (+0400) Subject: feedlist: htmlspecialchars() feed title X-Git-Tag: 1.3.4~57 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=70c9b173145a9f3cb74f681afcc4dee9e1a2314d;p=tt-rss.git feedlist: htmlspecialchars() feed title --- 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]";